Skip to content

Commit

Permalink
[ClangConfig] Replace paths with the same value as CLANG_INSTALL_PACK…
Browse files Browse the repository at this point in the history
…AGE_DIR with a deref of the variable.

llvm-svn: 274158
  • Loading branch information
gottesmm committed Jun 29, 2016
1 parent fe9d2d8 commit 3f5275e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions clang/cmake/modules/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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)

0 comments on commit 3f5275e

Please sign in to comment.