diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index b8a65d03ef..be4479e70c 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -1,3 +1,6 @@ +# Doctest works fine with cmake 3.5 +set(CMAKE_POLICY_VERSION_MINIMUM 3.5) + FetchContent_Declare( doctest GIT_REPOSITORY "https://github.com/onqtam/doctest"