Skip to content

Commit 2107618

Browse files
committed
fix
1 parent 0edd8f5 commit 2107618

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ option(KHAOS_BUILD_DOCS "Build the docs" ON)
66
option(KHAOS_BUILD_TESTS "Build the tests" ON)
77
option(KHAOS_BUILD_EXAMPLES "Build the examples" ON)
88

9-
if(KHAOS_BUILD_DOCS OR KHAOS_BUILD_TESTS)
9+
if(KHAOS_BUILD_DOCS OR KHAOS_BUILD_TESTS AND ("${CMAKE_VERSION}" VERSION_GREATER "3.10.3"))
1010
include(FetchContent)
1111
FetchContent_Declare(CMMM GIT_REPOSITORY "https://github.com/cmake-tools/cmmm.git" GIT_TAG "v1.0")
1212
FetchContent_MakeAvailable(CMMM)

0 commit comments

Comments
 (0)