[PATCH] D111238: [Support][llvm] Add optional libCURL dependency to llvm build configuration

Roman Lebedev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Oct 6 09:31:06 PDT 2021


lebedev.ri added inline comments.


================
Comment at: llvm/CMakeLists.txt:407
+  set(LLVM_WITH_CURL 1)
+  set(CURL_LIBRARY "-lcurl")
+  find_package(CURL 7.74.0 REQUIRED)
----------------
This can't be right, shouldn't you be using `CURL_LIBRARIES` set by `find_package()`?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D111238/new/

https://reviews.llvm.org/D111238



More information about the llvm-commits mailing list