CMake: Only include Qobuz cover provider if Qobuz is enabled

This commit is contained in:
Jonas Kvinge 2024-10-06 14:42:48 +02:00
parent a8d1bf7e73
commit 1d9b8f464a
1 changed files with 2 additions and 2 deletions

View File

@ -620,7 +620,6 @@ set(SOURCES
src/covermanager/musicbrainzcoverprovider.cpp src/covermanager/musicbrainzcoverprovider.cpp
src/covermanager/discogscoverprovider.cpp src/covermanager/discogscoverprovider.cpp
src/covermanager/deezercoverprovider.cpp src/covermanager/deezercoverprovider.cpp
src/covermanager/qobuzcoverprovider.cpp
src/covermanager/musixmatchcoverprovider.cpp src/covermanager/musixmatchcoverprovider.cpp
src/covermanager/opentidalcoverprovider.cpp src/covermanager/opentidalcoverprovider.cpp
@ -904,7 +903,6 @@ set(HEADERS
src/covermanager/musicbrainzcoverprovider.h src/covermanager/musicbrainzcoverprovider.h
src/covermanager/discogscoverprovider.h src/covermanager/discogscoverprovider.h
src/covermanager/deezercoverprovider.h src/covermanager/deezercoverprovider.h
src/covermanager/qobuzcoverprovider.h
src/covermanager/musixmatchcoverprovider.h src/covermanager/musixmatchcoverprovider.h
src/covermanager/opentidalcoverprovider.h src/covermanager/opentidalcoverprovider.h
@ -1399,6 +1397,7 @@ optional_source(HAVE_QOBUZ
src/qobuz/qobuzstreamurlrequest.cpp src/qobuz/qobuzstreamurlrequest.cpp
src/qobuz/qobuzfavoriterequest.cpp src/qobuz/qobuzfavoriterequest.cpp
src/settings/qobuzsettingspage.cpp src/settings/qobuzsettingspage.cpp
src/covermanager/qobuzcoverprovider.cpp
HEADERS HEADERS
src/qobuz/qobuzservice.h src/qobuz/qobuzservice.h
src/qobuz/qobuzurlhandler.h src/qobuz/qobuzurlhandler.h
@ -1407,6 +1406,7 @@ optional_source(HAVE_QOBUZ
src/qobuz/qobuzstreamurlrequest.h src/qobuz/qobuzstreamurlrequest.h
src/qobuz/qobuzfavoriterequest.h src/qobuz/qobuzfavoriterequest.h
src/settings/qobuzsettingspage.h src/settings/qobuzsettingspage.h
src/covermanager/qobuzcoverprovider.h
UI UI
src/settings/qobuzsettingspage.ui src/settings/qobuzsettingspage.ui
) )