Restore the fix rL316059 eliminated by rL316372
authorSerguei Katkov <serguei.katkov@azul.com>
Tue, 24 Oct 2017 09:42:55 +0000 (09:42 +0000)
committerSerguei Katkov <serguei.katkov@azul.com>
Tue, 24 Oct 2017 09:42:55 +0000 (09:42 +0000)
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

index 08830a2..5d331ab 100644 (file)
@@ -14,3 +14,4 @@ set(LLVM_LINK_COMPONENTS
 add_llvm_unittest(CFIVerifyTests
   FileAnalysis.cpp
   GraphBuilder.cpp)
+target_link_libraries(CFIVerifyTests LLVMCFIVerify)