summaryrefslogtreecommitdiffstats
path: root/externals/find-modules/Findlz4.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'externals/find-modules/Findlz4.cmake')
-rw-r--r--externals/find-modules/Findlz4.cmake2
1 files changed, 1 insertions, 1 deletions
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)