aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/General/General.pro
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/General/General.pro')
-rw-r--r--src/plugins/General/General.pro7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/plugins/General/General.pro b/src/plugins/General/General.pro
index 1f4290b30..9a9e2af14 100644
--- a/src/plugins/General/General.pro
+++ b/src/plugins/General/General.pro
@@ -16,8 +16,7 @@ SUBDIRS += statusicon \
unix:SUBDIRS += mpris \
kdenotify \
converter \
- gnomehotkey \
- sleepinhibitor
+ gnomehotkey
contains(CONFIG, UDISKS2_PLUGIN){
unix:SUBDIRS += udisks2
@@ -27,6 +26,10 @@ contains(CONFIG, HAL_PLUGIN){
unix:SUBDIRS += hal
}
+contains(CONFIG, SLEEP_INHIBITOR_PLUGIN){
+ unix:SUBDIRS += sleepinhibitor
+}
+
contains(CONFIG, HISTORY_PLUGIN){
SUBDIRS += history
}