Skip to content

Commit

Permalink
(#11036) libcurl: CMake build fix on with_threaded_resolver option
Browse files Browse the repository at this point in the history
* Expose control to --enable-threaded-resolver option

* Consider with_threaded_resolver under CMake build

* Fix logical not
  • Loading branch information
ekondis authored Jun 5, 2022
1 parent fc8c376 commit b80541d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions recipes/libcurl/all/conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -564,6 +564,8 @@ def _configure_cmake(self):
else:
self._cmake.definitions["CMAKE_USE_LIBSSH2"] = self.options.with_libssh2
self._cmake.definitions["ENABLE_ARES"] = self.options.with_c_ares
if not self.options.with_c_ares:
self._cmake.definitions["ENABLE_THREADED_RESOLVER"] = self.options.with_threaded_resolver
self._cmake.definitions["CURL_DISABLE_PROXY"] = not self.options.with_proxy
self._cmake.definitions["USE_LIBRTMP"] = self.options.with_librtmp
if tools.Version(self.version) >= "7.75.0":
Expand Down

0 comments on commit b80541d

Please sign in to comment.