Make PulseAudioQt required dependency when WITH_PULSEAUDIO option is set

This commit is contained in:
Alexander Lohnau 2023-07-20 12:57:21 +03:00
parent b8c6e529ba
commit 8ea717b363

View file

@ -82,7 +82,7 @@ endif()
if(UNIX AND NOT APPLE)
find_package(KF${QT_MAJOR_VERSION}Package REQUIRED)
if (WITH_PULSEAUDIO)
find_package(KF${QT_MAJOR_VERSION}PulseAudioQt)
find_package(KF${QT_MAJOR_VERSION}PulseAudioQt REQUIRED)
endif()
find_package(QtWaylandScanner REQUIRED)
find_package(Wayland 1.9 REQUIRED Client)