From: Pavel Labath Date: Thu, 2 Jun 2016 18:49:42 +0000 (+0000) Subject: [cmake] Fix-up r271533 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=17e484a8468b3f29c6cce2743277c923b26ccc5e;p=clang [cmake] Fix-up r271533 I was appending to the wrong variable (over-zealous copy-paste from llvm on my part). git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@271565 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt index 4a0f677726..5679013e11 100644 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -76,11 +76,11 @@ if( NOT CLANG_BUILT_STANDALONE ) ) if(TARGET llvm-lto) - set(LLVM_TEST_DEPENDS ${LLVM_TEST_DEPENDS} llvm-lto) + list(APPEND CLANG_TEST_DEPS llvm-lto) endif() if(TARGET LTO) - set(LLVM_TEST_DEPENDS ${LLVM_TEST_DEPENDS} LTO) + list(APPEND CLANG_TEST_DEPS LTO) endif() endif()