Skip to content

Commit e36d325

Browse files
committed
fix errors in CMakeLists.txt
1 parent 95ca5d9 commit e36d325

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ set(SCHEMES_RTERRTMGP ${LOCAL_CURRENT_SOURCE_DIR}/physics/Radiation/RRTMGP/rte-r
110110
${LOCAL_CURRENT_SOURCE_DIR}/physics/Radiation/RRTMGP/rte-rrtmgp/rte-frontend/mo_optical_props.F90)
111111

112112
# List of files that need to be compiled without OpenMP (currently a copy of SCHEMES_RTERRTMGP)
113-
set(SCHEMES_OPENMP_OFF $SCHEMES_RTERRTMGP)
113+
set(SCHEMES_OPENMP_OFF ${SCHEMES_RTERRTMGP})
114114

115115
# List of files that need to be compiled with different precision
116116
set(SCHEMES_DYNAMICS)
@@ -195,7 +195,7 @@ endif()
195195

196196
set(CMAKE_Fortran_MODULE_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/${CMAKE_INSTALL_INCLUDEDIR})
197197

198-
add_library(ccpp_physics STATIC ${SCHEMES} ${SCHEMES_OPENMP_OFF} ${SCHEMES_DYNAMICS} ${CAPS})
198+
add_library(ccpp_physics STATIC ${SCHEMES} ${SCHEMES_RTERRTMGP} ${SCHEMES_OPENMP_OFF} ${SCHEMES_DYNAMICS} ${CAPS})
199199

200200
set_target_properties(ccpp_physics PROPERTIES VERSION ${PROJECT_VERSION}
201201
SOVERSION ${PROJECT_VERSION_MAJOR})

0 commit comments

Comments
 (0)