Skip to content

Commit c3f5591

Browse files
authored
The LLVMBasedICFGGlobCtorDtorTest needs LLVMLinker, so we better link explicitly, instead of relying on transitive linkage (#692)
1 parent 1edd12d commit c3f5591

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

unittests/PhasarLLVM/ControlFlow/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ set(ControlFlowSources
1212
LLVMBasedICFGSerializationTest.cpp
1313
)
1414

15+
set(LLVM_LINK_COMPONENTS Linker) # The CtorDtorTest needs the linker
1516
foreach(TEST_SRC ${ControlFlowSources})
1617
add_phasar_unittest(${TEST_SRC})
1718
endforeach(TEST_SRC)

0 commit comments

Comments
 (0)