Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
AlysonStahl-NOAA committed Feb 11, 2025
1 parent ef1a0ab commit da74936
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions wgrib2/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -123,11 +123,11 @@ if(USE_IPOLATES)
# Link to the Fortran runtime library for each compiler if using ip2.
# The wgrib2 exectuable is created using the C compiler and
# doesn't link the necessary Fortran library required for ip2.
if(CMAKE_Fortran_COMPILER_ID MATCHES "^(Intel)$")
target_link_libraries(wgrib2_exe PRIVATE "-lifcore")
elseif(CMAKE_Fortran_COMPILER_ID MATCHES "^(GNU)$")
target_link_libraries(wgrib2_exe PRIVATE "-lgfortran")
endif()
#if(CMAKE_Fortran_COMPILER_ID MATCHES "^(Intel)$")
# target_link_libraries(wgrib2_exe PRIVATE "-lifcore")
#elseif(CMAKE_Fortran_COMPILER_ID MATCHES "^(GNU)$")
# target_link_libraries(wgrib2_exe PRIVATE "-lgfortran")
#endif()

endif()

Expand Down

0 comments on commit da74936

Please sign in to comment.