Skip to content

Commit

Permalink
[cmake] Do not link libLLVM.so to our unittests.
Browse files Browse the repository at this point in the history
  • Loading branch information
gojakuch authored and vgvassilev committed Apr 17, 2024
1 parent 91308b8 commit 349c77c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion unittests/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 349c77c

Please sign in to comment.