Skip to content

Commit

Permalink
fix cmakelists for solver tests
Browse files Browse the repository at this point in the history
  • Loading branch information
PierreMarchand20 committed Nov 29, 2023
1 parent ca6582c commit 1525de3
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tests/functional_tests/solvers/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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/)

Expand Down

0 comments on commit 1525de3

Please sign in to comment.