From fdc6308fa19f4e4fd90b2221eef268945f166e7d Mon Sep 17 00:00:00 2001 From: NAKAMURA Takumi Date: Mon, 10 Feb 2014 10:52:19 +0000 Subject: [CMake] LLVMSupport should be responsible to provide system_libs. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@201077 91177308-0d34-0410-b5e6-96231b3b80d8 --- cmake/modules/AddLLVM.cmake | 5 ----- 1 file changed, 5 deletions(-) (limited to 'cmake/modules/AddLLVM.cmake') diff --git a/cmake/modules/AddLLVM.cmake b/cmake/modules/AddLLVM.cmake index 83f57a708a..59add8d359 100644 --- a/cmake/modules/AddLLVM.cmake +++ b/cmake/modules/AddLLVM.cmake @@ -238,10 +238,6 @@ function(llvm_add_library name) llvm_config(${name} ${ARG_LINK_COMPONENTS} ${LLVM_LINK_COMPONENTS}) - # Ensure that the system libraries always comes last on the - # list. Without this, linking the unit tests on MinGW fails. - link_system_libs( ${name} ) - if(LLVM_COMMON_DEPENDS) add_dependencies(${name} ${LLVM_COMMON_DEPENDS}) endif() @@ -330,7 +326,6 @@ macro(add_llvm_executable name) if( LLVM_COMMON_DEPENDS ) add_dependencies( ${name} ${LLVM_COMMON_DEPENDS} ) endif( LLVM_COMMON_DEPENDS ) - link_system_libs( ${name} ) endmacro(add_llvm_executable name) -- cgit v1.2.3