summaryrefslogtreecommitdiff
path: root/test/CMakeLists.txt
diff options
context:
space:
mode:
authorChandler Carruth <chandlerc@gmail.com>2012-07-02 21:46:03 +0000
committerChandler Carruth <chandlerc@gmail.com>2012-07-02 21:46:03 +0000
commit4a26392de060fd60315712961354d3aaf9990ef0 (patch)
treeaf44749b9e9dd5d4614622a3cc2ab7cf3921ecdf /test/CMakeLists.txt
parentfb3cc8be6941edc44cf2176335fa6090d8ff4425 (diff)
downloadclang-4a26392de060fd60315712961354d3aaf9990ef0.tar.gz
Extend a workaround for a CMake bug in LLVM's r159593 to apply to
a Clang target which hits the same bug directly. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@159598 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CMakeLists.txt')
-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")