[llvm] r316422 - Restore the fix rL316059 eliminated by rL316372

Serguei Katkov via llvm-commits llvm-commits at lists.llvm.org
Tue Oct 24 02:42:55 PDT 2017


Author: skatkov
Date: Tue Oct 24 02:42:55 2017
New Revision: 316422

URL: http://llvm.org/viewvc/llvm-project?rev=316422&view=rev
Log:
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.

Modified:
    llvm/trunk/unittests/tools/llvm-cfi-verify/CMakeLists.txt

Modified: llvm/trunk/unittests/tools/llvm-cfi-verify/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/unittests/tools/llvm-cfi-verify/CMakeLists.txt?rev=316422&r1=316421&r2=316422&view=diff
==============================================================================
--- llvm/trunk/unittests/tools/llvm-cfi-verify/CMakeLists.txt (original)
+++ llvm/trunk/unittests/tools/llvm-cfi-verify/CMakeLists.txt Tue Oct 24 02:42:55 2017
@@ -14,3 +14,4 @@ set(LLVM_LINK_COMPONENTS
 add_llvm_unittest(CFIVerifyTests
   FileAnalysis.cpp
   GraphBuilder.cpp)
+target_link_libraries(CFIVerifyTests LLVMCFIVerify)




More information about the llvm-commits mailing list