summaryrefslogtreecommitdiffstats
path: root/externals/find-modules/Findlz4.cmake
diff options
context:
space:
mode:
authorAndrea Pappacoda <andrea@pappacoda.it>2022-12-14 09:30:31 +0100
committerAndrea Pappacoda <andrea@pappacoda.it>2022-12-15 11:52:50 +0100
commit4447c9a46edafc5dbea80c96add3605c177c1b5b (patch)
treec84657899612a9c40ec10ff9349b4d3f42063766 /externals/find-modules/Findlz4.cmake
parentMerge pull request #9441 from yuzu-emu/revert-9232-audio-default-thread (diff)
downloadyuzu-4447c9a46edafc5dbea80c96add3605c177c1b5b.tar
yuzu-4447c9a46edafc5dbea80c96add3605c177c1b5b.tar.gz
yuzu-4447c9a46edafc5dbea80c96add3605c177c1b5b.tar.bz2
yuzu-4447c9a46edafc5dbea80c96add3605c177c1b5b.tar.lz
yuzu-4447c9a46edafc5dbea80c96add3605c177c1b5b.tar.xz
yuzu-4447c9a46edafc5dbea80c96add3605c177c1b5b.tar.zst
yuzu-4447c9a46edafc5dbea80c96add3605c177c1b5b.zip
Diffstat (limited to 'externals/find-modules/Findlz4.cmake')
-rw-r--r--externals/find-modules/Findlz4.cmake4
1 files changed, 1 insertions, 3 deletions
diff --git a/externals/find-modules/Findlz4.cmake b/externals/find-modules/Findlz4.cmake
index f4c7005ba..c82405c59 100644
--- a/externals/find-modules/Findlz4.cmake
+++ b/externals/find-modules/Findlz4.cmake
@@ -8,9 +8,7 @@ if (lz4_FOUND)
find_package_handle_standard_args(lz4 CONFIG_MODE)
else()
find_package(PkgConfig QUIET)
- if (PKG_CONFIG_FOUND)
- pkg_search_module(LZ4 QUIET IMPORTED_TARGET liblz4)
- endif()
+ pkg_search_module(LZ4 QUIET IMPORTED_TARGET liblz4)
find_package_handle_standard_args(lz4
REQUIRED_VARS LZ4_LINK_LIBRARIES
VERSION_VAR LZ4_VERSION