Skip to content
Snippets Groups Projects
Commit f195b05e authored by Michael Gottesman's avatar Michael Gottesman
Browse files

[ClangConfig] Replace paths with the same value as CLANG_INSTALL_PACKAGE_DIR...

[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
parent 8c3317aa
No related branches found
No related tags found
No related merge requests found
...@@ -12,11 +12,11 @@ install(EXPORT ClangTargets DESTINATION ${CLANG_INSTALL_PACKAGE_DIR}) ...@@ -12,11 +12,11 @@ install(EXPORT ClangTargets DESTINATION ${CLANG_INSTALL_PACKAGE_DIR})
install(FILES install(FILES
${CMAKE_CURRENT_SOURCE_DIR}/ClangConfig.cmake ${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 # Also copy ClangConfig.cmake to the build directory so that dependent projects
# can build against a build directory of Clang more easily. # can build against a build directory of Clang more easily.
configure_file( configure_file(
${CMAKE_CURRENT_SOURCE_DIR}/ClangConfig.cmake ${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) COPYONLY)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment