1
0
Fork 0
oh_my_little_overlay/net-misc/megasync/files/megasync-5.3.0.0-link-zlib.patch

13 lines
329 B
Diff
Raw Permalink Normal View History

2024-11-23 04:15:11 +05:00
--- 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}