From 1525de3e4e336532f11f23004ab74a783a7851d2 Mon Sep 17 00:00:00 2001 From: Pierre Marchand Date: Wed, 29 Nov 2023 13:41:45 +0100 Subject: [PATCH] fix cmakelists for solver tests --- tests/functional_tests/solvers/CMakeLists.txt | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tests/functional_tests/solvers/CMakeLists.txt b/tests/functional_tests/solvers/CMakeLists.txt index 9b399425..5eafcdd5 100644 --- a/tests/functional_tests/solvers/CMakeLists.txt +++ b/tests/functional_tests/solvers/CMakeLists.txt @@ -11,7 +11,10 @@ FetchContent_Declare( GIT_SUBMODULES_RECURSE FALSE GIT_SUBMODULES "") -FetchContent_MakeAvailable(data_test_repository) +FetchContent_GetProperties(data_test_repository) +if(NOT data_test_repository_POPULATED) + FetchContent_Populate(data_test_repository) +endif() set(Test_solver_ARGS ${data_test_repository_SOURCE_DIR}/data/)