Skip to content

Commit 3ee2d6c

Browse files
committed
Move appending of RTTOV libraries to LDFLAGS into Derecho cmake file
1 parent b4233c4 commit 3ee2d6c

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

machines/cmake_macros/intel.cmake

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,3 @@ else()
3535
string(APPEND SLIBS " -mkl=cluster")
3636
endif()
3737
set(SUPPORTS_CXX "TRUE")
38-
if(DEFINED ENV{RTTOV})
39-
string(APPEND LDFLAGS " -L$(NCAR_LDFLAGS_HDF5) -lhdf5_fortran -lhdf5_hl_fortran -lhdf5")
40-
endif()

machines/derecho/derecho.cmake

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,3 +20,6 @@ if (MPILIB STREQUAL openmpi)
2020
set(SCXX "$ENV{CXX}")
2121
set(SFC "$ENV{FC}")
2222
endif()
23+
if(DEFINED ENV{RTTOV})
24+
string(APPEND LDFLAGS " -L$(NCAR_LDFLAGS_HDF5) -lhdf5_fortran -lhdf5_hl_fortran -lhdf5")
25+
endif()

0 commit comments

Comments
 (0)