summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/CXXModules/RunCMakeTest.cmake
diff options
context:
space:
mode:
authorBen Boeckel <ben.boeckel@kitware.com>2023-01-20 14:38:43 (GMT)
committerBrad King <brad.king@kitware.com>2023-01-23 17:21:05 (GMT)
commit7abddcab08c98a62e5386297124946b6483569ca (patch)
treef0caa0ee488e8a3b6e93b77ce182791f066ca9b3 /Tests/RunCMake/CXXModules/RunCMakeTest.cmake
parentf9f34eb11143e5c5c1daee4aa2867139cf930aa4 (diff)
downloadCMake-7abddcab08c98a62e5386297124946b6483569ca.zip
CMake-7abddcab08c98a62e5386297124946b6483569ca.tar.gz
CMake-7abddcab08c98a62e5386297124946b6483569ca.tar.bz2
Ninja: require Ninja 1.11 for C++ module support
See: https://gitlab.kitware.com/cmake/cmake/-/issues/18355#note_1296721 See: https://github.com/ninja-build/ninja/pull/1937
Diffstat (limited to 'Tests/RunCMake/CXXModules/RunCMakeTest.cmake')
-rw-r--r--Tests/RunCMake/CXXModules/RunCMakeTest.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/Tests/RunCMake/CXXModules/RunCMakeTest.cmake b/Tests/RunCMake/CXXModules/RunCMakeTest.cmake
index 01d59f8..78afd5e 100644
--- a/Tests/RunCMake/CXXModules/RunCMakeTest.cmake
+++ b/Tests/RunCMake/CXXModules/RunCMakeTest.cmake
@@ -38,7 +38,7 @@ endif ()
set(generator_supports_cxx_modules 0)
if (RunCMake_GENERATOR MATCHES "Ninja" AND
- ninja_version VERSION_GREATER_EQUAL "1.10" AND
+ ninja_version VERSION_GREATER_EQUAL "1.11" AND
"cxx_std_20" IN_LIST CMAKE_CXX_COMPILE_FEATURES)
set(generator_supports_cxx_modules 1)
endif ()