summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Newton <Jeremy.Newton@amd.com>2023-04-10 17:49:38 -0400
committerJeremy Newton <Jeremy.Newton@amd.com>2023-07-14 09:29:04 -0400
commit6dad8f837285c32720efa8fcd28de4d197f27611 (patch)
tree0b1453e21110ce43432dd610bdf9aa7a24d658fc
parent423c7c58cd8fe78eb89a3ab434cfbc958a4eef07 (diff)
Allow shared zlib-ng
-rw-r--r--CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index ed6c64a2fa..ee44d04458 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -676,7 +676,7 @@ dolphin_make_imported_target_if_missing(LibLZMA::LibLZMA LIBLZMA)
dolphin_find_optional_system_library_pkgconfig(ZSTD libzstd>=1.4.0 zstd::zstd Externals/zstd)
-add_subdirectory(Externals/zlib-ng)
+dolphin_find_optional_system_library_pkgconfig(ZLIB zlib-ng ZLIB::ZLIB Externals/zlib-ng)
dolphin_find_optional_system_library_pkgconfig(MINIZIP minizip>=3.0.0 minizip::minizip Externals/minizip)