blob: a33f07d5a5f9d198449036cd05d1127d2c5aa1fc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
https://github.com/clementine-player/Clementine/pull/7238
https://bugs.gentoo.org/887105
--- a/3rdparty/qtiocompressor/CMakeLists.txt
+++ b/3rdparty/qtiocompressor/CMakeLists.txt
@@ -15,4 +15,4 @@ ADD_LIBRARY(qtiocompressor STATIC
${IOCOMPRESSOR-SOURCES-MOC}
)
-target_link_libraries(qtiocompressor Qt5::Core)
+target_link_libraries(qtiocompressor Qt5::Core ${ZLIB_LIBRARIES})
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -78,9 +78,7 @@ pkg_check_modules(LIBXML libxml-2.0)
pkg_check_modules(LIBSPOTIFY libspotify>=12.1.45)
pkg_check_modules(TAGLIB taglib)
-if (WIN32)
find_package(ZLIB REQUIRED)
-endif (WIN32)
find_library(LASTFM5_LIBRARIES lastfm5)
find_path(LASTFM5_INCLUDE_DIRS lastfm5/ws.h)
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -1303,7 +1303,6 @@ target_link_libraries(clementine_lib
${SQLITE_LIBRARIES}
Qocoa
- z
)
link_directories(
|