From 3356acacf7d102b66e814adf2a4e7094f3e4b581 Mon Sep 17 00:00:00 2001 From: Serguei Katkov Date: Tue, 24 Oct 2017 09:42:55 +0000 Subject: [PATCH] Restore the fix rL316059 eliminated by rL316372 rL316059 fixed the potential build failure when compiling with -DLLVM_BUILD_LLVM_DYLIB=ON -DLLVM_LINK_LLVM_DYLIB=ON. rL316372 just reverted the part of the fix, so restore it. llvm-svn: 316422 --- llvm/unittests/tools/llvm-cfi-verify/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/llvm/unittests/tools/llvm-cfi-verify/CMakeLists.txt b/llvm/unittests/tools/llvm-cfi-verify/CMakeLists.txt index 08830a2..5d331abd 100644 --- a/llvm/unittests/tools/llvm-cfi-verify/CMakeLists.txt +++ b/llvm/unittests/tools/llvm-cfi-verify/CMakeLists.txt @@ -14,3 +14,4 @@ set(LLVM_LINK_COMPONENTS add_llvm_unittest(CFIVerifyTests FileAnalysis.cpp GraphBuilder.cpp) +target_link_libraries(CFIVerifyTests LLVMCFIVerify) -- 2.7.4