Fix the dependencies

This commit is contained in:
Laurent Rineau 2019-02-21 16:09:42 +01:00
parent 1e17519384
commit 2ddee24f1a
1 changed files with 3 additions and 3 deletions

View File

@ -200,11 +200,11 @@ function(cgal_setup_test_properties test_name)
endif() endif()
set_property(TEST "push_of__${exe_name}" set_property(TEST "push_of__${exe_name}"
APPEND PROPERTY DEPENDS "compilation_of__${exe_name}") APPEND PROPERTY DEPENDS "compilation_of__${exe_name}")
set_property(TEST "push_of__${exe_name}"
APPEND PROPERTY FIXTURES_REQUIRED "${PROJECT_NAME}")
endif() endif()
set_property(TEST "push_of__${exe_name}" set_property(TEST "push_of__${exe_name}"
APPEND PROPERTY FIXTURES_SETUP "${exe_name}") APPEND PROPERTY FIXTURES_SETUP "${test_name}")
set_property(TEST "push_of__${exe_name}"
APPEND PROPERTY FIXTURES_REQUIRED "${PROJECT_NAME}")
endif() endif()
endif() # end CMake 3.7 or later endif() # end CMake 3.7 or later
endfunction(cgal_setup_test_properties) endfunction(cgal_setup_test_properties)