diff options
Diffstat (limited to 'docs/CMake.html')
-rw-r--r-- | docs/CMake.html | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/docs/CMake.html b/docs/CMake.html index 0d8cf62e33c4..6389c7f22afd 100644 --- a/docs/CMake.html +++ b/docs/CMake.html @@ -340,7 +340,7 @@ on Visual C++ and Xcode, <tt>"-sv"</tt> on others.</dd> - <dt><b>LLVM_LIT_TOOLS_DIR</b>:STRING</dt> + <dt><b>LLVM_LIT_TOOLS_DIR</b>:PATH</dt> <dd>The path to GnuWin32 tools for tests. Valid on Windows host. Defaults to "", then Lit seeks tools according to %PATH%. Lit can find tools(eg. grep, sort, &c) on LLVM_LIT_TOOLS_DIR at first, @@ -423,8 +423,9 @@ set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${LLVM_ROOT}/share/llvm/cmake") include(LLVMConfig) <b># Now set the header and library paths:</b> - include_directories( ${LLVM_ROOT}/include ) - link_directories( ${LLVM_ROOT}/lib ) + include_directories( ${LLVM_INCLUDE_DIRS} ) + link_directories( ${LLVM_LIBRARY_DIRS} ) + add_definitions( ${LLVM_DEFINITIONS} ) <b># Let's suppose we want to build a JIT compiler with support for # binary code (no interpreter):</b> llvm_map_components_to_libraries(REQ_LLVM_LIBRARIES jit native) |