forked from OSchip/llvm-project
[ClangConfig] Replace paths with the same value as CLANG_INSTALL_PACKAGE_DIR with a deref of the variable.
llvm-svn: 274158
This commit is contained in:
parent
fe9d2d81f6
commit
3f5275e8ed
|
@ -12,11 +12,11 @@ install(EXPORT ClangTargets DESTINATION ${CLANG_INSTALL_PACKAGE_DIR})
|
|||
|
||||
install(FILES
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/ClangConfig.cmake
|
||||
DESTINATION lib${LLVM_LIBDIR_SUFFIX}/cmake/clang)
|
||||
DESTINATION ${CLANG_INSTALL_PACKAGE_DIR})
|
||||
|
||||
# Also copy ClangConfig.cmake to the build directory so that dependent projects
|
||||
# can build against a build directory of Clang more easily.
|
||||
configure_file(
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/ClangConfig.cmake
|
||||
${CLANG_BINARY_DIR}/lib${LLVM_LIBDIR_SUFFIX}/cmake/clang/ClangConfig.cmake
|
||||
${CLANG_BINARY_DIR}/${CLANG_INSTALL_PACKAGE_DIR}/ClangConfig.cmake
|
||||
COPYONLY)
|
||||
|
|
Loading…
Reference in New Issue