tests: test_run_all target must depend on tests executable
Otherwise the tests and Catch2 isn't built
This commit is contained in:
parent
ebbd58c6e2
commit
0a60eb435c
|
|
@ -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
|
||||
)
|
||||
|
|
|
|||
Loading…
Reference in New Issue