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 fcc7450 commit 1948989Copy full SHA for 1948989
runtimes/CMakeLists.txt
@@ -225,9 +225,9 @@ if (CMAKE_Fortran_COMPILER AND ("flang-rt" IN_LIST LLVM_ENABLE_RUNTIMES OR "open
225
set(CMAKE_Fortran_LINK_MODE DRIVER)
226
endif ()
227
228
- # Optimization flags are only passed after CMake 3.27
+ # Optimization flags are only passed after CMake 3.27.4
229
# https://gitlab.kitware.com/cmake/cmake/-/commit/1140087adea98bd8d8974e4c18979f4949b52c34
230
- if (CMAKE_VERSION VERSION_LESS "3.27")
+ if (CMAKE_VERSION VERSION_LESS "3.27.4")
231
string(APPEND CMAKE_Fortran_FLAGS_DEBUG_INIT " -O0 -g")
232
string(APPEND CMAKE_Fortran_FLAGS_RELWITHDEBINFO_INIT " -O2 -g")
233
string(APPEND CMAKE_Fortran_FLAGS_RELEASE_INIT " -O3")
0 commit comments