llvm.org GIT mirror llvm / 9e1d577
[CMake] Add some extra variables to LLVMConfig.cmake.in Compiler-RT needs LLVM_LIBRARY_DIR, LLVM_BINARY_DIR. Setting these in LLVMConfig.cmake will allow Compiler-RT to not need to run llvm-config as long as the LLVMConfig.cmake module is in the CMake module path. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@269104 91177308-0d34-0410-b5e6-96231b3b80d8 Chris Bieneman 4 years ago
1 changed file(s) with 2 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
4848
4949 set(LLVM_INCLUDE_DIRS "@LLVM_CONFIG_INCLUDE_DIRS@")
5050 set(LLVM_LIBRARY_DIRS "@LLVM_CONFIG_LIBRARY_DIRS@")
51 set(LLVM_LIBRARY_DIR "@LLVM_CONFIG_LIBRARY_DIRS@")
5152 set(LLVM_DEFINITIONS "@LLVM_DEFINITIONS@")
5253 set(LLVM_CMAKE_DIR "@LLVM_CONFIG_CMAKE_DIR@")
54 set(LLVM_BINARY_DIR "${LLVM_INSTALL_PREFIX}")
5355 set(LLVM_TOOLS_BINARY_DIR "@LLVM_CONFIG_TOOLS_BINARY_DIR@")
5456
5557 if(NOT TARGET LLVMSupport)