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]>
  • Loading branch information
stephanlachnit committed Jul 31, 2023
1 parent f215692 commit 211f879
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 211f879

Please sign in to comment.