aboutsummaryrefslogtreecommitdiffhomepage
path: root/externals
diff options
context:
space:
mode:
authorAlexandre Bouvier <[email protected]>2022-12-31 12:48:08 +0100
committerAlexandre Bouvier <[email protected]>2023-01-02 02:27:25 +0100
commit1dfcf19c36dfa08a5ed48d5c367ff4aeacbf5bfa (patch)
treed8dd9f983a111288b88e3f298947dd6d2b47a6c5 /externals
parenta12a4f2a1322414a91b63ea43420ee37f5864111 (diff)
downloadyuzu-android-1dfcf19c36dfa08a5ed48d5c367ff4aeacbf5bfa.tar.gz
yuzu-android-1dfcf19c36dfa08a5ed48d5c367ff4aeacbf5bfa.zip
cmake: improve find_package failure messages
Diffstat (limited to 'externals')
-rw-r--r--externals/find-modules/Findhttplib.cmake2
-rw-r--r--externals/find-modules/Findlz4.cmake2
-rw-r--r--externals/find-modules/Findzstd.cmake2
3 files changed, 3 insertions, 3 deletions
diff --git a/externals/find-modules/Findhttplib.cmake b/externals/find-modules/Findhttplib.cmake
index 4d17cb393..861207eb5 100644
--- a/externals/find-modules/Findhttplib.cmake
+++ b/externals/find-modules/Findhttplib.cmake
@@ -5,7 +5,7 @@
include(FindPackageHandleStandardArgs)
find_package(httplib QUIET CONFIG)
-if (httplib_FOUND)
+if (httplib_CONSIDERED_CONFIGS)
find_package_handle_standard_args(httplib CONFIG_MODE)
else()
find_package(PkgConfig QUIET)
diff --git a/externals/find-modules/Findlz4.cmake b/externals/find-modules/Findlz4.cmake
index c82405c59..7a9a02d4e 100644
--- a/externals/find-modules/Findlz4.cmake
+++ b/externals/find-modules/Findlz4.cmake
@@ -4,7 +4,7 @@
include(FindPackageHandleStandardArgs)
find_package(lz4 QUIET CONFIG)
-if (lz4_FOUND)
+if (lz4_CONSIDERED_CONFIGS)
find_package_handle_standard_args(lz4 CONFIG_MODE)
else()
find_package(PkgConfig QUIET)
diff --git a/externals/find-modules/Findzstd.cmake b/externals/find-modules/Findzstd.cmake
index f6eb9643a..ae3ea0865 100644
--- a/externals/find-modules/Findzstd.cmake
+++ b/externals/find-modules/Findzstd.cmake
@@ -4,7 +4,7 @@
include(FindPackageHandleStandardArgs)
find_package(zstd QUIET CONFIG)
-if (zstd_FOUND)
+if (zstd_CONSIDERED_CONFIGS)
find_package_handle_standard_args(zstd CONFIG_MODE)
else()
find_package(PkgConfig QUIET)