Turn Deezer OFF by default if dependencies arent found
This commit is contained in:
parent
1c0bbe5d33
commit
58ea0bcbb0
|
@ -356,7 +356,12 @@ optional_component(SPARKLE ON "Sparkle integration"
|
|||
)
|
||||
|
||||
optional_component(STREAM_TIDAL ON "Streaming: Tidal support")
|
||||
optional_component(STREAM_DEEZER ON "Streaming: Deezer support")
|
||||
|
||||
if (LIBDZMEDIA_FOUND OR LIBDEEZER_FOUND)
|
||||
optional_component(STREAM_DEEZER ON "Streaming: Deezer support")
|
||||
else()
|
||||
optional_component(STREAM_DEEZER OFF "Streaming: Deezer support")
|
||||
endif()
|
||||
|
||||
optional_component(DZMEDIA ON "DZMedia"
|
||||
DEPENDS "libdzmedia" LIBDZMEDIA_FOUND
|
||||
|
|
Loading…
Reference in New Issue