summaryrefslogtreecommitdiff
path: root/externals/find-modules/Findhttplib.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'externals/find-modules/Findhttplib.cmake')
-rw-r--r--externals/find-modules/Findhttplib.cmake4
1 files changed, 1 insertions, 3 deletions
diff --git a/externals/find-modules/Findhttplib.cmake b/externals/find-modules/Findhttplib.cmake
index b72bad076..4d17cb393 100644
--- a/externals/find-modules/Findhttplib.cmake
+++ b/externals/find-modules/Findhttplib.cmake
@@ -9,9 +9,7 @@ if (httplib_FOUND)
9 find_package_handle_standard_args(httplib CONFIG_MODE) 9 find_package_handle_standard_args(httplib CONFIG_MODE)
10else() 10else()
11 find_package(PkgConfig QUIET) 11 find_package(PkgConfig QUIET)
12 if (PKG_CONFIG_FOUND) 12 pkg_search_module(HTTPLIB QUIET IMPORTED_TARGET cpp-httplib)
13 pkg_search_module(HTTPLIB QUIET IMPORTED_TARGET cpp-httplib)
14 endif()
15 find_package_handle_standard_args(httplib 13 find_package_handle_standard_args(httplib
16 REQUIRED_VARS HTTPLIB_INCLUDEDIR 14 REQUIRED_VARS HTTPLIB_INCLUDEDIR
17 VERSION_VAR HTTPLIB_VERSION 15 VERSION_VAR HTTPLIB_VERSION