]> granicus.if.org Git - clang/commitdiff
[clang] Add PRIVATE to target_link_libraries
authorShoaib Meenai <smeenai@fb.com>
Wed, 6 Dec 2017 23:02:00 +0000 (23:02 +0000)
committerShoaib Meenai <smeenai@fb.com>
Wed, 6 Dec 2017 23:02:00 +0000 (23:02 +0000)
Another follow-up to r319840. I'd done a test configure with
LLVM_BUILD_STATIC, so I'm not sure why this didn't show up in that.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@319983 91177308-0d34-0410-b5e6-96231b3b80d8

tools/c-index-test/CMakeLists.txt

index fdc713dc49289ddc7118ec6e129b17d16e576f96..d38c7bb28709ea3ce34fd53d246296aafad09b05 100644 (file)
@@ -16,6 +16,7 @@ endif()
 
 if (LLVM_BUILD_STATIC)
   target_link_libraries(c-index-test
+    PRIVATE
     libclang_static
     clangCodeGen
     clangIndex