OSDN Git Service
(root)
/
kde
/
kde-workspace.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2baeda5
)
kwin: disable kappmenu when dbusmenu-qt is not found
author
Ivailo Monev
<xakepa10@laimg.moc>
Thu, 8 Sep 2016 20:05:53 +0000
(20:05 +0000)
committer
Ivailo Monev
<xakepa10@laimg.moc>
Thu, 8 Sep 2016 20:05:53 +0000
(20:05 +0000)
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
kwin/CMakeLists.txt
patch
|
blob
|
history
diff --git
a/kwin/CMakeLists.txt
b/kwin/CMakeLists.txt
index
c5a76de
..
3d9f42f
100644
(file)
--- a/
kwin/CMakeLists.txt
+++ b/
kwin/CMakeLists.txt
@@
-7,6
+7,11
@@
option(KWIN_BUILD_SCREENEDGES "Enable building of KWin with screen edge support"
option(KWIN_BUILD_KAPPMENU "Enable building of KWin with application menu support" ON)
option(KWIN_BUILD_COMPOSITE "Enable building of KWin with XRender Compositing support" ON)
+# without dbusmenu-qt the functionality is useless
+if(NOT DBUSMENUQT_FOUND)
+ set(KWIN_BUILD_KAPPMENU OFF)
+endif()
+
include_directories(${XCB_INCLUDE_DIR})
# for kwin internal things