llvm.org GIT mirror llvm / cb8d8fa
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 Chandler Carruth 8 years ago
1 changed file(s) with 3 addition(s) and 2 deletion(s). Raw diff Collapse all Expand all
422422 set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${LLVM_ROOT}/share/llvm/cmake")
423423 include(LLVMConfig)
424424 # Now set the header and library paths:
425 include_directories( ${LLVM_ROOT}/include )
426 link_directories( ${LLVM_ROOT}/lib )
425 include_directories( ${LLVM_INCLUDE_DIRS} )
426 link_directories( ${LLVM_LIBRARY_DIRS} )
427 add_definitions( ${LLVM_DEFINITIONS} )
427428 # Let's suppose we want to build a JIT compiler with support for
428429 # binary code (no interpreter):
429430 llvm_map_components_to_libraries(REQ_LLVM_LIBRARIES jit native)