Browse Source

CMake: Use find_package() for curl instead of pkg_check_modules()

No need to involve pkg-config when CMake has builtin support

Gbp-Dch: ignore
debian/1.8.y
Julian Andres Klode 6 years ago
parent
commit
1ed5f97952
  1. 2
      CMakeLists.txt

2
CMakeLists.txt

@ -54,7 +54,7 @@ endif()
# apt-transport-https dependencies
pkg_check_modules(CURL libcurl REQUIRED)
find_package(CURL REQUIRED)
if (CURL_FOUND)
set(HAVE_CURL 1)
endif()

Loading…
Cancel
Save