[PATCH] D51986: Fixes for `LLVM_LINK_LLVM_DYLIB` && Polly.
Richard Diamond via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Sep 12 07:46:56 PDT 2018
DiamondLovesYou updated this revision to Diff 165090.
DiamondLovesYou added a comment.
- Fix cmake warning
Repository:
rC Clang
https://reviews.llvm.org/D51986
Files:
tools/driver/CMakeLists.txt
Index: tools/driver/CMakeLists.txt
===================================================================
--- tools/driver/CMakeLists.txt
+++ tools/driver/CMakeLists.txt
@@ -122,6 +122,6 @@
endif()
endif()
-if(WITH_POLLY AND LINK_POLLY_INTO_TOOLS)
+if(WITH_POLLY AND LINK_POLLY_INTO_TOOLS AND NOT LLVM_LINK_LLVM_DYLIB)
target_link_libraries(clang PRIVATE Polly)
-endif(WITH_POLLY AND LINK_POLLY_INTO_TOOLS)
+endif()
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D51986.165090.patch
Type: text/x-patch
Size: 422 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20180912/ad71bda5/attachment.bin>
More information about the cfe-commits
mailing list