We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 98a00e6 commit a98fe3eCopy full SHA for a98fe3e
components/eamxx/CMakeLists.txt
@@ -51,8 +51,10 @@ if (SCREAM_CIME_BUILD)
51
${CMAKE_CURRENT_SOURCE_DIR}/cmake/cime)
52
endif ()
53
54
-# We want to use C++17 in EAMxx
55
-set(CMAKE_CXX_STANDARD 17)
+if (NOT CMAKE_CXX_STANDARD)
+ # Default to C++17 in EAMxx
56
+ set(CMAKE_CXX_STANDARD 17)
57
+endif()
58
59
if (NOT SCREAM_CIME_BUILD)
60
project(SCREAM CXX C Fortran)
0 commit comments