Make PulseAudioQt optional
Hopefully keeps those Pulseaudio deniers out pf my inbox
This commit is contained in:
parent
7034cf5cbd
commit
24777524ad
2 changed files with 8 additions and 2 deletions
|
@ -48,7 +48,7 @@ else()
|
|||
endif()
|
||||
find_package(Qca-qt5 ${QCA_MIN_VERSION} REQUIRED)
|
||||
if(NOT WIN32 AND NOT APPLE)
|
||||
find_package(KF5PulseAudioQt REQUIRED)
|
||||
find_package(KF5PulseAudioQt)
|
||||
endif()
|
||||
add_definitions(-DQT_NO_URL_CAST_FROM_STRING -DQT_NO_KEYWORDS -DQT_NO_CAST_FROM_ASCII)
|
||||
endif()
|
||||
|
|
|
@ -7,7 +7,6 @@ add_subdirectory(battery)
|
|||
add_subdirectory(sendnotifications)
|
||||
add_subdirectory(mpriscontrol)
|
||||
add_subdirectory(photo)
|
||||
add_subdirectory(systemvolume)
|
||||
add_subdirectory(remotecommands)
|
||||
add_subdirectory(mprisremote)
|
||||
add_subdirectory(remotecontrol)
|
||||
|
@ -31,12 +30,19 @@ if(NOT SAILFISHOS)
|
|||
endif()
|
||||
if(NOT WIN32 AND NOT APPLE)
|
||||
add_subdirectory(sftp)
|
||||
endif()
|
||||
|
||||
if(KF5PulseAudioQt_FOUND)
|
||||
add_subdirectory(pausemusic)
|
||||
endif()
|
||||
|
||||
if(Qt5Multimedia_FOUND AND KF5PulseAudioQt_FOUND)
|
||||
add_subdirectory(findthisdevice)
|
||||
endif()
|
||||
|
||||
if (WIN32 OR APPLE OR KF5PulseAudioQt_FOUND)
|
||||
add_subdirectory(systemvolume)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue