summaryrefslogtreecommitdiff
path: root/kde
diff options
context:
space:
mode:
authorDennis Kasprzyk <onestone@compiz-fusion.org>2010-02-02 19:45:18 +0100
committerDennis kasprzyk <onestone@compiz-fusion.org>2010-02-02 19:45:34 +0100
commit55656e81a5d943380a92468c04cda44b5d9976f1 (patch)
treef868d01e7ddd545fdd63b2355d4d7876b3d3a58c /kde
parentc0f0ddf1bb670a00f3c41e642e7aad0dcd7bc0c9 (diff)
downloadzcomp-55656e81a5d943380a92468c04cda44b5d9976f1.tar.gz
zcomp-55656e81a5d943380a92468c04cda44b5d9976f1.tar.bz2
Fixed cmake cache problems.
Diffstat (limited to 'kde')
-rw-r--r--kde/window-decorator-kde4/CMakeLists.txt6
1 files changed, 4 insertions, 2 deletions
diff --git a/kde/window-decorator-kde4/CMakeLists.txt b/kde/window-decorator-kde4/CMakeLists.txt
index 5cee30a..8f7d989 100644
--- a/kde/window-decorator-kde4/CMakeLists.txt
+++ b/kde/window-decorator-kde4/CMakeLists.txt
@@ -1,6 +1,8 @@
project (kde4-window-decorator)
-set (USE_KDE4 1 CACHE BOOL "Build KDE 4 window decorator")
+option (BUILD_KDE4 "Build KDE 4 window decorator" 1)
+
+compiz_set (USE_KDE4 ${BUILD_KDE4})
if (USE_KDE4)
@@ -63,7 +65,7 @@ if (USE_KDE4)
)
else (KDE4_FOUND)
- set (USE_KDE4 0)
+ compiz_set (USE_KDE4 0)
endif (KDE4_FOUND)
endif (USE_KDE4)