Skip to content

Commit 1948989

Browse files
committed
Exact CMake version
1 parent fcc7450 commit 1948989

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

runtimes/CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -225,9 +225,9 @@ if (CMAKE_Fortran_COMPILER AND ("flang-rt" IN_LIST LLVM_ENABLE_RUNTIMES OR "open
225225
set(CMAKE_Fortran_LINK_MODE DRIVER)
226226
endif ()
227227

228-
# Optimization flags are only passed after CMake 3.27
228+
# Optimization flags are only passed after CMake 3.27.4
229229
# https://gitlab.kitware.com/cmake/cmake/-/commit/1140087adea98bd8d8974e4c18979f4949b52c34
230-
if (CMAKE_VERSION VERSION_LESS "3.27")
230+
if (CMAKE_VERSION VERSION_LESS "3.27.4")
231231
string(APPEND CMAKE_Fortran_FLAGS_DEBUG_INIT " -O0 -g")
232232
string(APPEND CMAKE_Fortran_FLAGS_RELWITHDEBINFO_INIT " -O2 -g")
233233
string(APPEND CMAKE_Fortran_FLAGS_RELEASE_INIT " -O3")

0 commit comments

Comments
 (0)