From: Michael Gottesman Date: Wed, 29 Jun 2016 20:22:46 +0000 (+0000) Subject: [ClangConfig] Replace paths with the same value as CLANG_INSTALL_PACKAGE_DIR with... X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f195b05e23957a8703b8e3bef29f16034d976540;p=clang [ClangConfig] Replace paths with the same value as CLANG_INSTALL_PACKAGE_DIR with a deref of the variable. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@274158 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/cmake/modules/CMakeLists.txt b/cmake/modules/CMakeLists.txt index 7906e4f4d2..8eb84cd1ad 100644 --- a/cmake/modules/CMakeLists.txt +++ b/cmake/modules/CMakeLists.txt @@ -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)