]> granicus.if.org Git - curl/commit
cmake: Export libcurl and curl targets to use by other cmake projects
authorJakub Zakrzewski <slither.jz@gmail.com>
Sun, 10 Sep 2017 14:56:16 +0000 (16:56 +0200)
committerJakub Zakrzewski <slither.jz@gmail.com>
Sat, 28 Oct 2017 15:22:47 +0000 (17:22 +0200)
commit1cb4f5d6e8e470638759a48ba99fda230089712f
treebb5c4021aae5816656defc0e4a65eb8d6e07604e
parent58a9e770e331e393f9b16cdbe0edb4de86552c7e
cmake: Export libcurl and curl targets to use by other cmake projects

The config files define curl and libcurl targets as imported targets
CURL::curl and CURL::libcurl. For backward compatibility with CMake-
provided find-module the CURL_INCLUDE_DIRS and CURL_LIBRARIES are
also set.

Closes #1879
CMake/curl-config.cmake [new file with mode: 0644]
CMakeLists.txt
Makefile.am
lib/CMakeLists.txt
src/CMakeLists.txt