]> granicus.if.org Git - clang/commitdiff
[ClangConfig] Replace paths with the same value as CLANG_INSTALL_PACKAGE_DIR with...
authorMichael Gottesman <mgottesman@apple.com>
Wed, 29 Jun 2016 20:22:46 +0000 (20:22 +0000)
committerMichael Gottesman <mgottesman@apple.com>
Wed, 29 Jun 2016 20:22:46 +0000 (20:22 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@274158 91177308-0d34-0410-b5e6-96231b3b80d8

cmake/modules/CMakeLists.txt

index 7906e4f4d2db234d471995a235aa94a6714d8bc7..8eb84cd1adaa78b952906fcd05fa717c076ca5ec 100644 (file)
@@ -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)