Fix search for PulseAudioQt
It does not follow Frameworks version numbers
This commit is contained in:
parent
0ecf00822b
commit
3f9b43c208
1 changed files with 2 additions and 1 deletions
|
@ -27,10 +27,11 @@ else()
|
||||||
set(KF5_REQUIRED_COMPONENTS I18n ConfigWidgets DBusAddons IconThemes Notifications KIO KCMUtils Service)
|
set(KF5_REQUIRED_COMPONENTS I18n ConfigWidgets DBusAddons IconThemes Notifications KIO KCMUtils Service)
|
||||||
set(KF5_OPTIONAL_COMPONENTS DocTools)
|
set(KF5_OPTIONAL_COMPONENTS DocTools)
|
||||||
if(UNIX)
|
if(UNIX)
|
||||||
set(KF5_OPTIONAL_COMPONENTS ${KF5_OPTIONAL_COMPONENTS} PulseAudioQt Runner)
|
set(KF5_OPTIONAL_COMPONENTS ${KF5_OPTIONAL_COMPONENTS} Runner)
|
||||||
endif()
|
endif()
|
||||||
set(QCA_MIN_VERSION "2.1.0")
|
set(QCA_MIN_VERSION "2.1.0")
|
||||||
find_package(Qca-qt5 ${QCA_MIN_VERSION} REQUIRED)
|
find_package(Qca-qt5 ${QCA_MIN_VERSION} REQUIRED)
|
||||||
|
find_package(KF5PulseAudioQt)
|
||||||
add_definitions(-DQT_NO_URL_CAST_FROM_STRING -DQT_NO_KEYWORDS)
|
add_definitions(-DQT_NO_URL_CAST_FROM_STRING -DQT_NO_KEYWORDS)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue