search for: llvm_link_dir

Displaying 1 result from an estimated 1 matches for "llvm_link_dir".

Did you mean: llvm_libs_dir
2010 Dec 23
1
[LLVMdev] Linking to LLVM with CMake
Hi, I'm having problems linking my project (outside of the llvm source tree) to the LLVM jit. My CMake file contains: ------------ find_package(LLVM REQUIRED) include_directories(${LLVM_INCLUDE_DIR}) link_directories(${LLVM_LINK_DIR}) add_definitions(-D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS) add_executable(nvm main.cpp) llvm_config(nvm engine) ------------ cmake succeeds in generating the makefile - so it is correctly finding the installed LLVM (2.8, r122491), which compiled fine. The build fails, complaining of: CM...