Skip to content

Commit

Permalink
Merge pull request #300 from AlysonStahl-NOAA/as_lib
Browse files Browse the repository at this point in the history
Link wgrib2_lib to gctpc
  • Loading branch information
AlysonStahl-NOAA authored Dec 2, 2024
2 parents 6a928b0 + 565217e commit f835c76
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wgrib2/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ target_link_libraries(wgrib2_exe PRIVATE obj_lib)

if(BUILD_LIB)
set(headers wgrib2_api.h wgrib2.h ${CMAKE_BINARY_DIR}/wgrib2/wgrib2_meta.h)
## target_link_libraries(wgrib2_lib PUBLIC gctpc)
target_link_libraries(wgrib2_lib PUBLIC gctpc -lm)
set_target_properties(wgrib2_lib PROPERTIES PUBLIC_HEADER "${headers}")
target_compile_definitions(wgrib2_lib PUBLIC ${definitions_list})

Expand Down

0 comments on commit f835c76

Please sign in to comment.