Skip to content

Commit

Permalink
CMake: use CLING_BINARY_DIR instead of LLVM_BINARY_DIR to configure C…
Browse files Browse the repository at this point in the history
…lingConfig.cmake

This fixes #12151.

Signed-off-by: Stephan Lachnit <[email protected]>
(cherry picked from commit 8a45c09)
  • Loading branch information
stephanlachnit authored and hahnjo committed Aug 15, 2023
1 parent 940f151 commit ab4dd5e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion interpreter/cling/cmake/modules/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# link against them. LLVM calls its version of this file LLVMExports.cmake, but
# the usual CMake convention seems to be ${Project}Targets.cmake.
set(CLING_INSTALL_PACKAGE_DIR lib${LLVM_LIBDIR_SUFFIX}/cmake/cling)
set(cling_cmake_builddir "${LLVM_BINARY_DIR}/${CLING_INSTALL_PACKAGE_DIR}")
set(cling_cmake_builddir "${CLING_BINARY_DIR}/${CLING_INSTALL_PACKAGE_DIR}")

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

0 comments on commit ab4dd5e

Please sign in to comment.