From 0435569baee128ee7ce6844daa15e3e892715a49 Mon Sep 17 00:00:00 2001 From: Vassil Vassilev Date: Fri, 19 Apr 2024 18:59:12 +0000 Subject: [PATCH] Revert "[cmake] Do not link libLLVM.so to our unittests." This reverts commit 349c77c39fc0a7afea0aec743aaaf02f31364bd7. --- unittests/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/unittests/CMakeLists.txt b/unittests/CMakeLists.txt index f80faf083..6100f7346 100644 --- a/unittests/CMakeLists.txt +++ b/unittests/CMakeLists.txt @@ -12,7 +12,7 @@ endif() # Produces a binary named 'basename(test_dirname)'. function(add_clad_unittest test_dirname) - add_unittest(CladUnitTests ${test_dirname} ${ARGN} DISABLE_LLVM_LINK_LLVM_DYLIB) + add_unittest(CladUnitTests ${test_dirname} ${ARGN}) # Remove the llvm_gtest_* coming from add_unittest. get_target_property(GTEST_LINKED_LIBS ${test_dirname} LINK_LIBRARIES)