diff --git a/unittests/PhasarLLVM/ControlFlow/CMakeLists.txt b/unittests/PhasarLLVM/ControlFlow/CMakeLists.txt index 04cb11d947..656751ae97 100644 --- a/unittests/PhasarLLVM/ControlFlow/CMakeLists.txt +++ b/unittests/PhasarLLVM/ControlFlow/CMakeLists.txt @@ -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)