Skip to content

Commit 1b4fc5d

Browse files
CMake: use CLING_BINARY_DIR instead of LLVM_BINARY_DIR to configure ClingConfig.cmake
This fixes root-project#12151. Signed-off-by: Stephan Lachnit <[email protected]>
1 parent f215692 commit 1b4fc5d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

interpreter/cling/cmake/modules/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
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 "${LLVM_BINARY_DIR}/${CLING_INSTALL_PACKAGE_DIR}")
5+
set(cling_cmake_builddir "${CLING_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)

0 commit comments

Comments
 (0)