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 fbc85aa commit 73b27b7Copy full SHA for 73b27b7
CMakeLists.txt
@@ -1,5 +1,4 @@
1
cmake_minimum_required(VERSION 3.9)
2
-cmake_policy(VERSION 3.5) # For doctest
3
4
project(fast_float VERSION 8.0.2 LANGUAGES CXX)
5
set(FASTFLOAT_CXX_STANDARD 11 CACHE STRING "the C++ standard to use for fastfloat")
tests/CMakeLists.txt
@@ -27,8 +27,7 @@ endif()
27
if (NOT SYSTEM_DOCTEST)
28
FetchContent_GetProperties(doctest)
29
if(NOT doctest_POPULATED)
30
- FetchContent_Populate(doctest)
31
- add_subdirectory(${doctest_SOURCE_DIR} ${doctest_BINARY_DIR})
+ FetchContent_MakeAvailable(doctest)
32
endif()
33
34
0 commit comments