Skip to content

Commit

Permalink
Update CMakeLists.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
AlysonStahl-NOAA committed Oct 10, 2024
1 parent 849c005 commit 890a254
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion wgrib2/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ if(USE_NETCDF)
endif()

if(USE_JASPER)
target_link_libraries(obj_lib PUBLIC g2c::g2c)
# target_link_libraries(obj_lib PUBLIC g2c::g2c)
# include_directories(${JASPER_INCLUDE_DIR})
# target_include_directories(obj_lib PUBLIC ${JASPER_INCLUDE_DIR})
# target_link_libraries(obj_lib PUBLIC ${JASPER_LIBRARIES})
Expand Down Expand Up @@ -126,6 +126,9 @@ if(USE_AEC)
target_link_libraries(wgrib2_exe PRIVATE aec)
endif()

if(USE_JASPER)
target_link_libraries(wgrib2_exe PRIVATE g2c::g2c)
endif()

if(USE_OPENJPEG)
include_directories(${OPENJPEG_INCLUDE_DIRS})
Expand Down

0 comments on commit 890a254

Please sign in to comment.