Skip to content

Commit 3f057d9

Browse files
committed
update cmake version
1 parent 01ac878 commit 3f057d9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

module.cmake

+2-2
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ elseif (CMAKE_VERSION EQUAL 3.26)
99
set(CMAKE_EXPERIMENTAL_CXX_MODULE_CMAKE_API "2182bf5c-ef0d-489a-91da-49dbc3090d2a")
1010
elseif (CMAKE_VERSION EQUAL 3.27)
1111
set(CMAKE_EXPERIMENTAL_CXX_MODULE_CMAKE_API "aa1f7df0-828a-4fcd-9afc-2dc80491aca7")
12-
else()
13-
message(WARNING "Newer CMake version, CMAKE_EXPERIMENTAL_CXX_MODULE_CMAKE_API may not be set.")
12+
elseif (CMAKE_VERSION LESS 3.25)
13+
message(ERROR "Newer CMake version, must be at least 3.25.")
1414
endif()
1515

1616
# Enable the module experiment

0 commit comments

Comments
 (0)