summaryrefslogtreecommitdiffstats
path: root/CMakeModules/Findzstd.cmake
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--CMakeModules/Findzstd.cmake (renamed from externals/find-modules/Findzstd.cmake)2
1 files changed, 1 insertions, 1 deletions
diff --git a/externals/find-modules/Findzstd.cmake b/CMakeModules/Findzstd.cmake
index f6eb9643a..ae3ea0865 100644
--- a/externals/find-modules/Findzstd.cmake
+++ b/CMakeModules/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)