summaryrefslogtreecommitdiffstats
path: root/externals/find-modules/Findhttplib.cmake
diff options
context:
space:
mode:
authorliamwhite <liamwhite@users.noreply.github.com>2022-12-15 18:05:13 +0100
committerGitHub <noreply@github.com>2022-12-15 18:05:13 +0100
commitb8c03411e7240875973d65c62d01043cb30a8fb7 (patch)
tree646fb52fb42ffcff106ff6ab1b498f192feccff7 /externals/find-modules/Findhttplib.cmake
parentMerge pull request #7410 from Nefsen402/wayland-fixes (diff)
parentbuild: tweak the find modules even more (diff)
downloadyuzu-b8c03411e7240875973d65c62d01043cb30a8fb7.tar
yuzu-b8c03411e7240875973d65c62d01043cb30a8fb7.tar.gz
yuzu-b8c03411e7240875973d65c62d01043cb30a8fb7.tar.bz2
yuzu-b8c03411e7240875973d65c62d01043cb30a8fb7.tar.lz
yuzu-b8c03411e7240875973d65c62d01043cb30a8fb7.tar.xz
yuzu-b8c03411e7240875973d65c62d01043cb30a8fb7.tar.zst
yuzu-b8c03411e7240875973d65c62d01043cb30a8fb7.zip
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)
find_package_handle_standard_args(httplib CONFIG_MODE)
else()
find_package(PkgConfig QUIET)
- if (PKG_CONFIG_FOUND)
- pkg_search_module(HTTPLIB QUIET IMPORTED_TARGET cpp-httplib)
- endif()
+ pkg_search_module(HTTPLIB QUIET IMPORTED_TARGET cpp-httplib)
find_package_handle_standard_args(httplib
REQUIRED_VARS HTTPLIB_INCLUDEDIR
VERSION_VAR HTTPLIB_VERSION