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 0edd8f5 commit 2107618Copy full SHA for 2107618
CMakeLists.txt
@@ -6,7 +6,7 @@ option(KHAOS_BUILD_DOCS "Build the docs" ON)
6
option(KHAOS_BUILD_TESTS "Build the tests" ON)
7
option(KHAOS_BUILD_EXAMPLES "Build the examples" ON)
8
9
-if(KHAOS_BUILD_DOCS OR KHAOS_BUILD_TESTS)
+if(KHAOS_BUILD_DOCS OR KHAOS_BUILD_TESTS AND ("${CMAKE_VERSION}" VERSION_GREATER "3.10.3"))
10
include(FetchContent)
11
FetchContent_Declare(CMMM GIT_REPOSITORY "https://github.com/cmake-tools/cmmm.git" GIT_TAG "v1.0")
12
FetchContent_MakeAvailable(CMMM)
0 commit comments