From 0a60eb435c2583ca0314185bb31595c55d39bf1d Mon Sep 17 00:00:00 2001 From: gudnimg Date: Tue, 6 Aug 2024 10:29:44 +0000 Subject: [PATCH] tests: test_run_all target must depend on tests executable Otherwise the tests and Catch2 isn't built --- tests/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index b20179864..71a210576 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -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 )