diff options
| author | Eli Friedman <eli.friedman@gmail.com> | 2008-11-30 02:42:05 +0000 |
|---|---|---|
| committer | Eli Friedman <eli.friedman@gmail.com> | 2008-11-30 02:42:05 +0000 |
| commit | 9ccf574ea0efd7b5eb24739c8583fd8f61ed1b8f (patch) | |
| tree | 73eee24754d69869612f73d7f0f28abb63a31b66 /llvm | |
| parent | fc678e2af5f52ade3a62112c17739c8b6ebe724e (diff) | |
| download | bcm5719-llvm-9ccf574ea0efd7b5eb24739c8583fd8f61ed1b8f.tar.gz bcm5719-llvm-9ccf574ea0efd7b5eb24739c8583fd8f61ed1b8f.zip | |
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.
llvm-svn: 60273
Diffstat (limited to 'llvm')
| -rwxr-xr-x | llvm/cmake/modules/AddLLVM.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/cmake/modules/AddLLVM.cmake b/llvm/cmake/modules/AddLLVM.cmake index 85e6230f90f..13ecc37f7fe 100755 --- a/llvm/cmake/modules/AddLLVM.cmake +++ b/llvm/cmake/modules/AddLLVM.cmake @@ -31,7 +31,7 @@ macro(add_llvm_executable name) 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 ) |

