summaryrefslogtreecommitdiff
path: root/docs/CMake.html
diff options
context:
space:
mode:
Diffstat (limited to 'docs/CMake.html')
-rw-r--r--docs/CMake.html5
1 files changed, 3 insertions, 2 deletions
diff --git a/docs/CMake.html b/docs/CMake.html
index 0d8cf62e33..c9531d6813 100644
--- a/docs/CMake.html
+++ b/docs/CMake.html
@@ -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)