From b546613d4361d2b8cdd4e7facb0e89093b8ae532 Mon Sep 17 00:00:00 2001 From: Chandler Carruth Date: Mon, 2 Jul 2012 21:45:22 +0000 Subject: [PATCH] Extend the workaround from r159593 to cover a few explicit alias targets. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@159597 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/CMakeLists.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt index 651d0243f14..09cb94f4bd8 100644 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -22,5 +22,6 @@ set_target_properties(check-llvm PROPERTIES FOLDER "Tests") # Setup a legacy alias for 'check-llvm'. This will likely change to be an # alias for 'check-all' at some point in the future. -add_custom_target(check DEPENDS check-llvm) +add_custom_target(check) +add_dependencies(check check-llvm) set_target_properties(check PROPERTIES FOLDER "Tests")