Turn Deezer OFF by default if dependencies arent found
This commit is contained in:
@@ -356,7 +356,12 @@ optional_component(SPARKLE ON "Sparkle integration"
|
|||||||
)
|
)
|
||||||
|
|
||||||
optional_component(STREAM_TIDAL ON "Streaming: Tidal support")
|
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"
|
optional_component(DZMEDIA ON "DZMedia"
|
||||||
DEPENDS "libdzmedia" LIBDZMEDIA_FOUND
|
DEPENDS "libdzmedia" LIBDZMEDIA_FOUND
|
||||||
|
|||||||
Reference in New Issue
Block a user