ddnet/cmake/FindCurl.cmake
heinrich5991 5d61aa0b6e Add CMakeLists.txt that work on my machine
It probably doesn't work on Windows, at least.
2017-02-23 14:16:32 +01:00

6 lines
163 B
CMake

find_package(PkgConfig)
pkg_check_modules(CURL libcurl)
include(FindPackageHandleStandardArgs)
find_package_handle_standard_args(Curl DEFAULT_MSG CURL_LIBRARIES)