diff options
author | Chandler Carruth <chandlerc@gmail.com> | 2011-09-04 23:24:13 +0000 |
---|---|---|
committer | Chandler Carruth <chandlerc@gmail.com> | 2011-09-04 23:24:13 +0000 |
commit | cb8d8fa8c0effce97e4a4ffc0f927733f6954beb (patch) | |
tree | 341397dbe140aa4c77330818cba14b19e08c931b /docs/CMake.html | |
parent | a268468d50a0c6f7de27299d50c6e387e404d685 (diff) | |
download | external_llvm-cb8d8fa8c0effce97e4a4ffc0f927733f6954beb.zip external_llvm-cb8d8fa8c0effce97e4a4ffc0f927733f6954beb.tar.gz external_llvm-cb8d8fa8c0effce97e4a4ffc0f927733f6954beb.tar.bz2 |
Update the CMake documentation to the correct variables.
Patch by arrowdodger!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@139106 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'docs/CMake.html')
-rw-r--r-- | docs/CMake.html | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/docs/CMake.html b/docs/CMake.html index 0d8cf62..c9531d6 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) |