Skip to content

Commit 2b283cc

Browse files
committed
Do not install {Clang,Cling}Config.cmake in the project lib dir.
This should fix the clad builds and unpollute the ROOTSYS/lib.
1 parent 10e0b01 commit 2b283cc

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

interpreter/cling/cmake/modules/CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# link against them. LLVM calls its version of this file LLVMExports.cmake, but
33
# the usual CMake convention seems to be ${Project}Targets.cmake.
44
set(CLING_INSTALL_PACKAGE_DIR lib${LLVM_LIBDIR_SUFFIX}/cmake/cling)
5-
set(cling_cmake_builddir "${CMAKE_BINARY_DIR}/${CLING_INSTALL_PACKAGE_DIR}")
5+
set(cling_cmake_builddir "${LLVM_BINARY_DIR}/${CLING_INSTALL_PACKAGE_DIR}")
66

77
# Keep this in sync with llvm/cmake/CMakeLists.txt!
88
set(LLVM_INSTALL_PACKAGE_DIR lib${LLVM_LIBDIR_SUFFIX}/cmake/llvm)

interpreter/llvm/src/tools/clang/cmake/modules/CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ include(LLVMDistributionSupport)
44
# link against them. LLVM calls its version of this file LLVMExports.cmake, but
55
# the usual CMake convention seems to be ${Project}Targets.cmake.
66
set(CLANG_INSTALL_PACKAGE_DIR lib${LLVM_LIBDIR_SUFFIX}/cmake/clang)
7-
set(clang_cmake_builddir "${CMAKE_BINARY_DIR}/${CLANG_INSTALL_PACKAGE_DIR}")
7+
set(clang_cmake_builddir "${CLANG_BINARY_DIR}/${CLANG_INSTALL_PACKAGE_DIR}")
88

99
# Keep this in sync with llvm/cmake/CMakeLists.txt!
1010
set(LLVM_INSTALL_PACKAGE_DIR lib${LLVM_LIBDIR_SUFFIX}/cmake/llvm)

0 commit comments

Comments
 (0)