From acf42b4e55134042e36cb03ac9c811ba0cf617cf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lukas=20Br=C3=BCbach?= Date: Thu, 20 Nov 2025 14:52:32 +0100 Subject: [PATCH] Link zip and lzma libs. Took 5 minutes --- cockatrice/CMakeLists.txt | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/cockatrice/CMakeLists.txt b/cockatrice/CMakeLists.txt index b7a68ac4d..b98640011 100644 --- a/cockatrice/CMakeLists.txt +++ b/cockatrice/CMakeLists.txt @@ -412,6 +412,14 @@ else() ) endif() +if(ZLIB_FOUND) + target_link_libraries(cockatrice PRIVATE ${ZLIB_LIBRARIES}) +endif() + +if(LIBLZMA_FOUND) + target_link_libraries(cockatrice PRIVATE ${LIBLZMA_LIBRARIES}) +endif() + if(UNIX) if(APPLE) set(MACOSX_BUNDLE_INFO_STRING "${PROJECT_NAME}")