Fix build: add zlib to deps where it's used
Ref https://bugs.gentoo.org/887105
This commit is contained in:
parent
9ef681b0e9
commit
65319d4952
|
@ -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})
|
||||
|
|
|
@ -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_package(ZLIB REQUIRED)
|
||||
|
||||
find_library(LASTFM5_LIBRARIES lastfm5)
|
||||
find_path(LASTFM5_INCLUDE_DIRS lastfm5/ws.h)
|
||||
|
|
|
@ -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
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue