[llvm-commits] [llvm] r60273 - /llvm/trunk/cmake/modules/AddLLVM.cmake

Eli Friedman eli.friedman at gmail.com
Sat Nov 29 18:42:05 PST 2008


Author: efriedma
Date: Sat Nov 29 20:42:05 2008
New Revision: 60273

URL: http://llvm.org/viewvc/llvm-project?rev=60273&view=rev
Log:
Fix a link issue I ran into trying compiling LLVM on MinGW with CMake.  
Hopefully this doesn't break anyone else's build... it shouldn't unless 
the MinGW variable means something other than compiling with MinGW.


Modified:
    llvm/trunk/cmake/modules/AddLLVM.cmake

Modified: llvm/trunk/cmake/modules/AddLLVM.cmake
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/cmake/modules/AddLLVM.cmake?rev=60273&r1=60272&r2=60273&view=diff

==============================================================================
--- llvm/trunk/cmake/modules/AddLLVM.cmake (original)
+++ llvm/trunk/cmake/modules/AddLLVM.cmake Sat Nov 29 20:42:05 2008
@@ -31,7 +31,7 @@
   else( MSVC )
     add_dependencies(${name} llvm-config.target)
     if( MINGW )
-      target_link_libraries(${name} DbgHelp psapi)
+      target_link_libraries(${name} imagehlp psapi)
     elseif( CMAKE_HOST_UNIX )
       target_link_libraries(${name} dl)
     endif( MINGW )





More information about the llvm-commits mailing list