From: Chandler Carruth Date: Mon, 2 Jul 2012 21:46:03 +0000 (+0000) Subject: Extend a workaround for a CMake bug in LLVM's r159593 to apply to X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4a26392de060fd60315712961354d3aaf9990ef0;p=clang 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 --- 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")