[PATCH] D115189: [Support] [Debuginfod] Include curl include dirs when curl is enabled. (WIP)
Noah Shutty via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Dec 6 15:04:49 PST 2021
noajshu updated this revision to Diff 392196.
noajshu marked 2 inline comments as done.
noajshu added a comment.
Treat Curl similar to Zlib.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D115189/new/
https://reviews.llvm.org/D115189
Files:
llvm/lib/Support/CMakeLists.txt
Index: llvm/lib/Support/CMakeLists.txt
===================================================================
--- llvm/lib/Support/CMakeLists.txt
+++ llvm/lib/Support/CMakeLists.txt
@@ -76,7 +76,7 @@
# Link LibCURL if the user wants it
if (LLVM_ENABLE_CURL)
- set(system_libs ${system_libs} ${CURL_LIBRARIES})
+ set(imported_libs ${imported_libs} CURL::libcurl)
endif()
# Override the C runtime allocator on Windows and embed it into LLVM tools & libraries
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D115189.392196.patch
Type: text/x-patch
Size: 464 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20211206/a6db5e50/attachment.bin>
More information about the llvm-commits
mailing list