summaryrefslogtreecommitdiff
path: root/cmake/modules/AddLLVM.cmake
diff options
context:
space:
mode:
authorOscar Fuentes <ofv@wanadoo.es>2011-03-21 22:53:51 +0000
committerOscar Fuentes <ofv@wanadoo.es>2011-03-21 22:53:51 +0000
commit89234e1e28a150138ea46dd3bee7c44d3dc0e4fe (patch)
treef1164730bccb787699778e898a3cbb09c4aaed00 /cmake/modules/AddLLVM.cmake
parent6e56331ed99e5b96de940dfdc53e438eef521a2e (diff)
downloadllvm-89234e1e28a150138ea46dd3bee7c44d3dc0e4fe.tar.gz
llvm-89234e1e28a150138ea46dd3bee7c44d3dc0e4fe.tar.bz2
llvm-89234e1e28a150138ea46dd3bee7c44d3dc0e4fe.tar.xz
Removed workaround for unspecified build problem on MinGW.
Tested that MinGW/MSYS builds fine without that. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@128033 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'cmake/modules/AddLLVM.cmake')
-rwxr-xr-xcmake/modules/AddLLVM.cmake8
1 files changed, 3 insertions, 5 deletions
diff --git a/cmake/modules/AddLLVM.cmake b/cmake/modules/AddLLVM.cmake
index 5e0e32acbc..f0dc106d3a 100755
--- a/cmake/modules/AddLLVM.cmake
+++ b/cmake/modules/AddLLVM.cmake
@@ -84,11 +84,9 @@ macro(add_llvm_executable name)
if( LLVM_COMMON_DEPENDS )
add_dependencies( ${name} ${LLVM_COMMON_DEPENDS} )
endif( LLVM_COMMON_DEPENDS )
- if( NOT MINGW )
- get_system_libs(llvm_system_libs)
- if( llvm_system_libs )
- target_link_libraries(${name} ${llvm_system_libs})
- endif()
+ get_system_libs(llvm_system_libs)
+ if( llvm_system_libs )
+ target_link_libraries(${name} ${llvm_system_libs})
endif()
endmacro(add_llvm_executable name)