Skip to content

Commit

Permalink
Fix a bug when compiling GSI in debug mode
Browse files Browse the repository at this point in the history
Removes unneeded library linkages when compiling in debug mode.
These changes have already been made on the GSI master, but needed
to be duplicated for GEFS.
  • Loading branch information
WalterKolczynski-NOAA committed Jul 30, 2020
1 parent 9dcbc83 commit 412bf2a
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions util/EnKF/gfs/src/getsfcnstensupdp.fd/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,4 @@ if(BUILD_UTIL)
SET( CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} ${OpenMP_Fortran_FLAGS}" )
include_directories( ${UTIL_INC}/getsfcnstensupdp ${SFCIOINC} ${NEMSIOINC} ${MPI_Fortran_INCLUDE_PATH} )
target_link_libraries( getsfcnstensupdp.x ${SFCIO_LIBRARY} ${NEMSIO_LIBRARY} ${BACIO_LIBRARY} ${W3NCO_4_LIBRARY} ${SP_4_LIBRARY} ${MPI_Fortran_LIBRARIES} )
target_link_libraries( getsfcnstensupdp.x ${GSILIB} ${GSISHAREDLIB} )
add_dependencies( getsfcnstensupdp.x ${GSISHAREDLIB} )
endif()

0 comments on commit 412bf2a

Please sign in to comment.