Skip to content

Commit 0a60eb4

Browse files
committed
tests: test_run_all target must depend on tests executable
Otherwise the tests and Catch2 isn't built
1 parent ebbd58c commit 0a60eb4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/CMakeLists.txt

+1
Original file line numberDiff line numberDiff line change
@@ -39,4 +39,5 @@ add_custom_target(
3939
COMMAND ${CMAKE_COMMAND} -E touch .ctest-finished || exit 0
4040
BYPRODUCTS ${PROJECT_BINARY_DIR}/.ctest-finished
4141
WORKING_DIRECTORY "${PROJECT_BINARY_DIR}"
42+
DEPENDS tests
4243
)

0 commit comments

Comments
 (0)