[Lldb-commits] [lldb] r319953 - [lldb] Use PRIVATE in target_link_libraries

Shoaib Meenai via lldb-commits lldb-commits at lists.llvm.org
Wed Dec 6 12:53:03 PST 2017

Author: smeenai
Date: Wed Dec  6 12:53:03 2017
New Revision: 319953

URL: http://llvm.org/viewvc/llvm-project?rev=319953&view=rev
[lldb] Use PRIVATE in target_link_libraries

This is a follow-up to r319840. I guess none of the systems I'd tested
on before had LLDB_SYSTEM_LIBS set, which is why I didn't see any local
errors, but I'm surprised none of the bots caught it either.


Modified: lldb/trunk/tools/lldb-server/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/tools/lldb-server/CMakeLists.txt?rev=319953&r1=319952&r2=319953&view=diff
--- lldb/trunk/tools/lldb-server/CMakeLists.txt (original)
+++ lldb/trunk/tools/lldb-server/CMakeLists.txt Wed Dec  6 12:53:03 2017
@@ -54,4 +54,4 @@ add_lldb_tool(lldb-server INCLUDE_IN_FRA
-target_link_libraries(lldb-server ${LLDB_SYSTEM_LIBS})
+target_link_libraries(lldb-server PRIVATE ${LLDB_SYSTEM_LIBS})

More information about the lldb-commits mailing list