vcpkg/ports/czmq/Findlibcurl.cmake
myd7349 9624235c56
[czmq] Update to v4.2.1 (#17989)
* [czmq] Update to 4.2.1

* [czmq] vcpkg x-add-version czmq

* [czmq] Quote paths

* [czmq] Overwrite version

* [czmq] Fix curl winldap linkage when built as static library

* [czmq] Overwrite version

* [czmq] Fix dependencies

* [czmq] Overwrite version

* [czmq] Modernize

* [czmq] Overwrite version
2021-07-15 14:55:58 -07:00

12 lines
315 B
CMake

find_package(CURL CONFIG QUIET)
if(CURL_FOUND)
set(LIBCURL_INCLUDE_DIRS ${CURL_INCLUDE_DIRS})
set(LIBCURL_LIBRARIES CURL::libcurl)
set(LIBCURL_FOUND TRUE)
message(STATUS "Found libcurl: ${LIBCURL_LIBRARIES}")
else()
set(LIBCURL_FOUND FALSE)
message(STATUS "Could not find libcurl")
endif()