Skip to content

Commit c11299d

Browse files
committed
cmake 3.14.4 or above is needed for FetchContent_MakeAvailable()
1 parent 4c486b6 commit c11299d

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
@@ -37,7 +37,7 @@ if(NOT taocpp-json_FOUND)
3737
set(TAOCPP_JSON_INSTALL_CMAKE_DIR ${CMAKE_INSTALL_DATAROOTDIR}/json/cmake CACHE STRING "Override taoJSON cmake install directory")
3838
add_subdirectory(external/json)
3939
else()
40-
if(CMAKE_VERSION VERSION_GREATER_EQUAL 3.11)
40+
if(CMAKE_VERSION VERSION_GREATER_EQUAL 3.14.4)
4141
include(FetchContent)
4242
FetchContent_Declare(
4343
taocpp-json

0 commit comments

Comments
 (0)