]> granicus.if.org Git - llvm/commitdiff
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.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@316422 91177308-0d34-0410-b5e6-96231b3b80d8

unittests/tools/llvm-cfi-verify/CMakeLists.txt

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