Skip to content

Commit

Permalink
Reverted a few changes in wgrib2/CMakeLists.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
AlysonStahl-NOAA committed Apr 15, 2024
1 parent 3220f4c commit 17127b0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions wgrib2/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -70,9 +70,9 @@ if(BUILD_LIB)

# with -DCALLABLE_WGRIB2 for the lib
if(BUILD_SHARED_LIB)
add_library(wgrib2_lib SHARED ${lib_src} $<TARGET_OBJECTS:gctpc> $<TARGET_OBJECTS:aec>)
add_library(wgrib2_lib SHARED ${lib_src} $<TARGET_OBJECTS:gctpc> ${callable_src})
else()
add_library(wgrib2_lib STATIC ${lib_src} $<TARGET_OBJECTS:gctpc> $<TARGET_OBJECTS:aec>)
add_library(wgrib2_lib STATIC ${lib_src} $<TARGET_OBJECTS:gctpc> ${callable_src})
endif()

# library and executable have same name (wgrib2) but different target names
Expand Down

0 comments on commit 17127b0

Please sign in to comment.