Skip to content

Commit

Permalink
tests: test_run_all target must depend on tests executable
Browse files Browse the repository at this point in the history
Otherwise the tests and Catch2 isn't built
  • Loading branch information
gudnimg committed Aug 6, 2024
1 parent ebbd58c commit 0a60eb4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
)

0 comments on commit 0a60eb4

Please sign in to comment.