From 1ed5f97952d3a7b722bd73992c92769ec0efc67c Mon Sep 17 00:00:00 2001 From: Julian Andres Klode Date: Sun, 7 Aug 2016 00:22:44 +0200 Subject: 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 --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt index e01fdbed5..44b301cc2 100644 --- a/CMakeLists.txt +++ b/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() -- cgit v1.2.3