mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-01-17 06:18:17 +01:00
Add ZLIB linking workaround for broken Taglib pkgconfig versions (#678)
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
This commit is contained in:
parent
90ec6f0dc7
commit
c1d9d431fd
@ -534,6 +534,12 @@ TARGET_LINK_LIBRARIES(${TOMAHAWK_LIBRARY} PRIVATE
|
|||||||
|
|
||||||
# TagLib
|
# TagLib
|
||||||
target_link_libraries(${TOMAHAWK_LIBRARY} LINK_PUBLIC Taglib::Taglib)
|
target_link_libraries(${TOMAHAWK_LIBRARY} LINK_PUBLIC Taglib::Taglib)
|
||||||
|
# Necessary workaround until we can depend on >1.11.1
|
||||||
|
if (NOT Taglib_VERSION VERSION_GREATER 1.11.1)
|
||||||
|
if(ZLIB_FOUND)
|
||||||
|
target_link_libraries(${TOMAHAWK_LIBRARY} PUBLIC -lz)
|
||||||
|
endif()
|
||||||
|
endif()
|
||||||
|
|
||||||
INSTALL( TARGETS ${TOMAHAWK_LIBRARY}
|
INSTALL( TARGETS ${TOMAHAWK_LIBRARY}
|
||||||
EXPORT TomahawkLibraryDepends
|
EXPORT TomahawkLibraryDepends
|
||||||
|
Loading…
x
Reference in New Issue
Block a user