Skip to content

Commit d632306

Browse files
hahnjodpiparo
authored andcommitted
Revert "[CMake] Disable linking against shared LLVM also for builtin_clang=OFF"
This reverts commit 3ef1193. The taken approach is not correct, this should be handled on the linking side of libCling as discussed post-merge in the pull request: #18386
1 parent 6179736 commit d632306

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

interpreter/CMakeLists.txt

-6
Original file line numberDiff line numberDiff line change
@@ -407,12 +407,6 @@ if (builtin_clang)
407407
else()
408408
find_package(Clang REQUIRED CONFIG)
409409
message(STATUS "Found Clang ${CLANG_PACKAGE_VERSION} in ${CLANG_CMAKE_DIR}")
410-
411-
# Disable linking against shared LLVM.
412-
# We have to do this after find_package(Clang). Finding Clang internally
413-
# calls find_package(LLVM), which overwrites LLVM_LINK_LLVM_DYLIB to what it
414-
# was set when building LLVM.
415-
set(LLVM_LINK_LLVM_DYLIB FALSE)
416410
endif()
417411

418412
# Reset the compiler flags after compiling LLVM and Clang

0 commit comments

Comments
 (0)