tests: test_run_all target must depend on tests executable

Otherwise the tests and Catch2 isn't built
This commit is contained in:
gudnimg 2024-08-06 10:29:44 +00:00
parent ebbd58c6e2
commit 0a60eb435c
1 changed files with 1 additions and 0 deletions

View File

@ -39,4 +39,5 @@ add_custom_target(
COMMAND ${CMAKE_COMMAND} -E touch .ctest-finished || exit 0
BYPRODUCTS ${PROJECT_BINARY_DIR}/.ctest-finished
WORKING_DIRECTORY "${PROJECT_BINARY_DIR}"
DEPENDS tests
)