summaryrefslogtreecommitdiff
path: root/games-emulation/pcsx2/files/pcsx2-1.7.4943-system-libzip-zstd.patch
blob: 631e49b3bddfa00764c1110b2ad9d089b9d4ca63 (plain)
1
2
3
4
5
6
7
8
--- a/cmake/SearchForStuff.cmake
+++ b/cmake/SearchForStuff.cmake
@@ -181,2 +181,3 @@
-add_subdirectory(3rdparty/zstd EXCLUDE_FROM_ALL)
-add_subdirectory(3rdparty/libzip EXCLUDE_FROM_ALL)
+pkg_check_modules(zstd REQUIRED IMPORTED_TARGET libzstd)
+alias_library(Zstd::Zstd PkgConfig::zstd)
+find_package(libzip REQUIRED)