1
0
Fork 0
oh_my_little_overlay/net-misc/megasync/files/megasync-5.3.0.0-link-zlib.patch
2024-11-23 01:15:11 +02:00

12 lines
329 B
Diff

--- a/src/MEGASync/control/control.cmake
+++ b/src/MEGASync/control/control.cmake
@@ -71,6 +71,9 @@ set(DESKTOP_APP_CONTROL_SOURCES
control/StatsEventHandler.cpp
)
+find_package(ZLIB REQUIRED)
+target_link_libraries(MEGAsync PRIVATE ZLIB::ZLIB)
+
target_sources(MEGAsync
PRIVATE
${DESKTOP_APP_CONTROL_HEADERS}