[cfe-commits] r113677 - in /cfe/trunk: CMakeLists.txt lib/CodeGen/CMakeLists.txt
Michael J. Spencer
bigcheesegs at gmail.com
Fri Sep 10 19:13:48 PDT 2010
Author: mspencer
Date: Fri Sep 10 21:13:48 2010
New Revision: 113677
URL: http://llvm.org/viewvc/llvm-project?rev=113677&view=rev
Log:
CMake: Fix mingw32 build.
Modified:
cfe/trunk/CMakeLists.txt
cfe/trunk/lib/CodeGen/CMakeLists.txt
Modified: cfe/trunk/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/CMakeLists.txt?rev=113677&r1=113676&r2=113677&view=diff
==============================================================================
--- cfe/trunk/CMakeLists.txt (original)
+++ cfe/trunk/CMakeLists.txt Fri Sep 10 21:13:48 2010
@@ -88,13 +88,15 @@
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 (LLVM_COMMON_LIBS)
target_link_libraries(${name} ${LLVM_COMMON_LIBS})
endif()
+ if( NOT MINGW )
+ get_system_libs(llvm_system_libs)
+ if( llvm_system_libs )
+ target_link_libraries(${name} ${llvm_system_libs})
+ endif()
+ endif()
add_dependencies(${name} ClangDiagnosticCommon)
if(MSVC)
get_target_property(cflag ${name} COMPILE_FLAGS)
Modified: cfe/trunk/lib/CodeGen/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/CodeGen/CMakeLists.txt?rev=113677&r1=113676&r2=113677&view=diff
==============================================================================
--- cfe/trunk/lib/CodeGen/CMakeLists.txt (original)
+++ cfe/trunk/lib/CodeGen/CMakeLists.txt Fri Sep 10 21:13:48 2010
@@ -46,8 +46,10 @@
)
add_dependencies(clangCodeGen
+ ClangARMNeon
ClangAttrClasses
ClangAttrList
ClangDeclNodes
ClangStmtNodes
+ ClangDiagnosticFrontend
)
More information about the cfe-commits
mailing list