Skip to content

Commit ab4dd5e

Browse files
stephanlachnithahnjo
authored andcommitted
CMake: use CLING_BINARY_DIR instead of LLVM_BINARY_DIR to configure ClingConfig.cmake
This fixes #12151. Signed-off-by: Stephan Lachnit <[email protected]> (cherry picked from commit 8a45c09)
1 parent 940f151 commit ab4dd5e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
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 "${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)