[polly] r202481 - cmake: Do not link in system libs

Tobias Grosser tobias at grosser.es
Fri Feb 28 02:11:21 PST 2014


Author: grosser
Date: Fri Feb 28 04:11:20 2014
New Revision: 202481

URL: http://llvm.org/viewvc/llvm-project?rev=202481&view=rev
Log:
cmake: Do not link in system libs

They are not needed any more.

Modified:
    polly/trunk/cmake/polly_macros.cmake

Modified: polly/trunk/cmake/polly_macros.cmake
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/cmake/polly_macros.cmake?rev=202481&r1=202480&r2=202481&view=diff
==============================================================================
--- polly/trunk/cmake/polly_macros.cmake (original)
+++ polly/trunk/cmake/polly_macros.cmake Fri Feb 28 04:11:20 2014
@@ -43,11 +43,6 @@ macro(add_polly_library name)
   if( LLVM_LINK_COMPONENTS )
     llvm_config(${name} ${LLVM_LINK_COMPONENTS})
   endif( LLVM_LINK_COMPONENTS )
-  get_system_libs(llvm_system_libs)
-  if( llvm_system_libs )
-    target_link_libraries(${name} ${llvm_system_libs})
-  endif( llvm_system_libs )
-
   if(MSVC)
     get_target_property(cflag ${name} COMPILE_FLAGS)
     if(NOT cflag)





More information about the llvm-commits mailing list