From 2cd0b3231a8c3a37e0cccf5ade11d6b408b62c4d Mon Sep 17 00:00:00 2001 From: Atell Krasnopolski Date: Wed, 13 Mar 2024 13:29:35 +0100 Subject: [PATCH] [cmake] Provide the `DISABLE_LLVM_LINK_LLVM_DYLIB` tag for unittests --- unittests/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/unittests/CMakeLists.txt b/unittests/CMakeLists.txt index 054f42630..78bc6874c 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}) + add_unittest(CladUnitTests ${test_dirname} ${ARGN} DISABLE_LLVM_LINK_LLVM_DYLIB) # Remove the llvm_gtest_* coming from add_unittest. get_target_property(GTEST_LINKED_LIBS ${test_dirname} LINK_LIBRARIES)