1
0
mirror of https://github.com/clementine-player/Clementine synced 2024-12-30 11:31:19 +01:00

Fix build: add zlib to deps where it's used

Ref https://bugs.gentoo.org/887105
This commit is contained in:
Alexey Sokolov 2022-12-21 01:32:23 +00:00 committed by John Maguire
parent 9ef681b0e9
commit 65319d4952
3 changed files with 2 additions and 6 deletions

View File

@ -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})

View File

@ -76,9 +76,7 @@ pkg_check_modules(LIBPULSE libpulse)
pkg_check_modules(LIBXML libxml-2.0)
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)

View File

@ -1268,7 +1268,6 @@ target_link_libraries(clementine_lib
${SQLITE_LIBRARIES}
Qocoa
z
)
link_directories(
@ -1351,7 +1350,6 @@ target_link_libraries(clementine_lib qsqlite)
if (WIN32)
target_link_libraries(clementine_lib
protobuf
${ZLIB_LIBRARIES}
tinysvcmdns
dsound
)