Browse files

link to llvm::Linker on win32 (fixes #387)

bug reported by @farces
  • Loading branch information...
1 parent cc803d0 commit 470b4837d7aa530a4bb08f0faa89a7252c82e251 @jckarter committed Sep 27, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 CMakeLists.txt
View
2 CMakeLists.txt
@@ -82,7 +82,7 @@ elseif(WIN32)
include_directories( ${LLVM_DIR}/include )
link_directories( ${LLVM_DIR}/lib )
add_definitions( ${LLVM_DEFINITIONS} )
- llvm_map_components_to_libraries(LLVM_LIBS ${LLVM_TARGETS_TO_BUILD} jit interpreter native asmparser bitreader bitwriter ipo)
+ llvm_map_components_to_libraries(LLVM_LIBS ${LLVM_TARGETS_TO_BUILD} jit interpreter native asmparser bitreader bitwriter ipo linker)
find_file(CLANG clang.exe HINTS ${LLVM_DIR}/bin)
else()
message(FATAL_ERROR "Could not find LLVM. Try setting LLVM_DIR")

0 comments on commit 470b483

Please sign in to comment.