llvm.org GIT mirror llvm / a81d9af
[CMake] configure_lit_site_cfg: ${SHLIBDIR} should point the build tree. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@200134 91177308-0d34-0410-b5e6-96231b3b80d8 NAKAMURA Takumi 6 years ago
1 changed file(s) with 5 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
435435 set(LLVM_BUILD_MODE "%(build_mode)s")
436436 endif ()
437437
438 # They below might not be the build tree but provided binary tree.
438439 set(LLVM_SOURCE_DIR ${LLVM_MAIN_SRC_DIR})
439440 set(LLVM_BINARY_DIR ${LLVM_BINARY_DIR})
440441 string(REPLACE ${CMAKE_CFG_INTDIR} ${LLVM_BUILD_MODE} LLVM_TOOLS_DIR ${LLVM_TOOLS_BINARY_DIR})
441442 string(REPLACE ${CMAKE_CFG_INTDIR} ${LLVM_BUILD_MODE} LLVM_LIBS_DIR ${LLVM_LIBRARY_DIR})
442 string(REPLACE ${CMAKE_CFG_INTDIR} ${LLVM_BUILD_MODE} SHLIBDIR ${LLVM_LIBRARY_DIR})
443
444 # SHLIBDIR points the build tree.
445 string(REPLACE ${CMAKE_CFG_INTDIR} ${LLVM_BUILD_MODE} SHLIBDIR ${LLVM_LIBRARY_OUTPUT_INTDIR})
446
443447 set(PYTHON_EXECUTABLE ${PYTHON_EXECUTABLE})
444448 set(ENABLE_SHARED ${LLVM_SHARED_LIBS_ENABLED})
445449 set(SHLIBPATH_VAR ${SHLIBPATH_VAR})