summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Gottesman <mgottesman@apple.com>2016-06-29 20:22:46 +0000
committerMichael Gottesman <mgottesman@apple.com>2016-06-29 20:22:46 +0000
commit3f5275e8edd53383a943c2f6ab8e80409528af78 (patch)
tree4b87c7307fc06b85890b946e9062c701ef1bc2fe
parentfe9d2d81f65b9730776dc70f639a936fe706e43b (diff)
downloadbcm5719-llvm-3f5275e8edd53383a943c2f6ab8e80409528af78.tar.gz
bcm5719-llvm-3f5275e8edd53383a943c2f6ab8e80409528af78.zip
[ClangConfig] Replace paths with the same value as CLANG_INSTALL_PACKAGE_DIR with a deref of the variable.
llvm-svn: 274158
-rw-r--r--clang/cmake/modules/CMakeLists.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/cmake/modules/CMakeLists.txt b/clang/cmake/modules/CMakeLists.txt
index 7906e4f4d2d..8eb84cd1ada 100644
--- a/clang/cmake/modules/CMakeLists.txt
+++ b/clang/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)
OpenPOWER on IntegriCloud