aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/CMakeLists.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt
index 272e1242ed..8184c3d363 100644
--- a/test/CMakeLists.txt
+++ b/test/CMakeLists.txt
@@ -88,5 +88,6 @@ else()
endif()
# Add a legacy target spelling: clang-test
-add_custom_target(clang-test DEPENDS check-clang)
+add_custom_target(clang-test)
+add_dependencies(clang-test check-clang)
set_target_properties(clang-test PROPERTIES FOLDER "Clang tests")