llvm.org GIT mirror llvm / 56e6d64
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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@60273 91177308-0d34-0410-b5e6-96231b3b80d8 Eli Friedman 10 years ago
1 changed file(s) with 1 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
3030 else( MSVC )
3131 add_dependencies(${name} llvm-config.target)
3232 if( MINGW )
33 target_link_libraries(${name} DbgHelp psapi)
33 target_link_libraries(${name} imagehlp psapi)
3434 elseif( CMAKE_HOST_UNIX )
3535 target_link_libraries(${name} dl)
3636 endif( MINGW )