This commit is contained in:
Daniel Lemire 2025-06-02 09:52:34 -04:00
parent fbc85aa706
commit 73b27b7d68
2 changed files with 1 additions and 3 deletions

View File

@ -1,5 +1,4 @@
cmake_minimum_required(VERSION 3.9) cmake_minimum_required(VERSION 3.9)
cmake_policy(VERSION 3.5) # For doctest
project(fast_float VERSION 8.0.2 LANGUAGES CXX) project(fast_float VERSION 8.0.2 LANGUAGES CXX)
set(FASTFLOAT_CXX_STANDARD 11 CACHE STRING "the C++ standard to use for fastfloat") set(FASTFLOAT_CXX_STANDARD 11 CACHE STRING "the C++ standard to use for fastfloat")

View File

@ -27,8 +27,7 @@ endif()
if (NOT SYSTEM_DOCTEST) if (NOT SYSTEM_DOCTEST)
FetchContent_GetProperties(doctest) FetchContent_GetProperties(doctest)
if(NOT doctest_POPULATED) if(NOT doctest_POPULATED)
FetchContent_Populate(doctest) FetchContent_MakeAvailable(doctest)
add_subdirectory(${doctest_SOURCE_DIR} ${doctest_BINARY_DIR})
endif() endif()
endif() endif()