[llvm] r202299 - Don't mix the plain and keyword signatures of target_link_libraries.

Rafael Espindola rafael.espindola at gmail.com
Wed Feb 26 12:39:28 PST 2014


Author: rafael
Date: Wed Feb 26 14:39:28 2014
New Revision: 202299

URL: http://llvm.org/viewvc/llvm-project?rev=202299&view=rev
Log:
Don't mix the plain and keyword signatures of target_link_libraries.

Modified:
    llvm/trunk/tools/gold/CMakeLists.txt

Modified: llvm/trunk/tools/gold/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/tools/gold/CMakeLists.txt?rev=202299&r1=202298&r2=202299&view=diff
==============================================================================
--- llvm/trunk/tools/gold/CMakeLists.txt (original)
+++ llvm/trunk/tools/gold/CMakeLists.txt Wed Feb 26 14:39:28 2014
@@ -20,7 +20,7 @@ else()
     gold-plugin.cpp
     )
 
-  target_link_libraries(LLVMgold LTO)
+  target_link_libraries(LLVMgold ${cmake_2_8_12_PRIVATE} LTO)
 
 endif()
 





More information about the llvm-commits mailing list