|
|
@ -9,9 +9,7 @@ if (httplib_FOUND)
|
|
|
|
find_package_handle_standard_args(httplib CONFIG_MODE)
|
|
|
|
find_package_handle_standard_args(httplib CONFIG_MODE)
|
|
|
|
else()
|
|
|
|
else()
|
|
|
|
find_package(PkgConfig QUIET)
|
|
|
|
find_package(PkgConfig QUIET)
|
|
|
|
if (PKG_CONFIG_FOUND)
|
|
|
|
pkg_search_module(HTTPLIB QUIET IMPORTED_TARGET cpp-httplib)
|
|
|
|
pkg_search_module(HTTPLIB QUIET IMPORTED_TARGET cpp-httplib)
|
|
|
|
|
|
|
|
endif()
|
|
|
|
|
|
|
|
find_package_handle_standard_args(httplib
|
|
|
|
find_package_handle_standard_args(httplib
|
|
|
|
REQUIRED_VARS HTTPLIB_INCLUDEDIR
|
|
|
|
REQUIRED_VARS HTTPLIB_INCLUDEDIR
|
|
|
|
VERSION_VAR HTTPLIB_VERSION
|
|
|
|
VERSION_VAR HTTPLIB_VERSION
|
|
|
|