summaryrefslogtreecommitdiff
path: root/unity-shared/CMakeLists.txt
diff options
authorTim Penhey <tim.penhey@canonical.com>2012-10-24 10:04:33 +0200
committerTim Penhey <tim.penhey@canonical.com>2012-10-24 10:04:33 +0200
commit881bfe2174363bfd14cbaa10be7c9c671434989d (patch)
tree245b6f1930478ae5e695ebc174624b8b6bbf6f20 /unity-shared/CMakeLists.txt
parentc4f89928f1d4e914f5607754375dbb916c288b3e (diff)
Change the macros, and cmake definitions.
(bzr r2865.2.12)
Diffstat (limited to 'unity-shared/CMakeLists.txt')
-rw-r--r--unity-shared/CMakeLists.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/unity-shared/CMakeLists.txt b/unity-shared/CMakeLists.txt
index 576d89482..99d6bf05e 100644
--- a/unity-shared/CMakeLists.txt
+++ b/unity-shared/CMakeLists.txt
@@ -68,7 +68,7 @@ set (UNITY_SHARED_SOURCES
XPathQueryPart.cpp
)
-if(UNITY_ENABLE_X_ORG_SUPPORT)
+if(ENABLE_X_SUPPORT)
set (UNITY_SHARED_SOURCES
XKeyboardUtil.cpp
XWindowManager.cpp
@@ -89,7 +89,7 @@ add_dependencies (unity-shared unity-core-${UNITY_API_VERSION})
# We also need to build compiz specific parts and standalone variants of those parts
#
-if(UNITY_ENABLE_X_ORG_SUPPORT)
+if (ENABLE_X_SUPPORT)
# compiz
set (UNITY_SHARED_COMPIZ_SOURCES
PluginAdapter.cpp