diff options
Diffstat (limited to 'cmake')
-rw-r--r-- | cmake/modules/CMakeLists.txt | 4 |
1 files changed, 2 insertions, 2 deletions
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) |