Skip to content

Commit

Permalink
The LLVMBasedICFGGlobCtorDtorTest needs LLVMLinker, so we better link…
Browse files Browse the repository at this point in the history
… explicitly, instead of relying on transitive linkage
  • Loading branch information
fabianbs96 committed Dec 9, 2023
1 parent b07f56a commit 9b1033e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions unittests/PhasarLLVM/ControlFlow/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ set(ControlFlowSources
LLVMBasedICFGSerializationTest.cpp
)

set(LLVM_LINK_COMPONENTS Linker) # The CtorDtorTest needs the linker
foreach(TEST_SRC ${ControlFlowSources})
add_phasar_unittest(${TEST_SRC})
endforeach(TEST_SRC)

0 comments on commit 9b1033e

Please sign in to comment.