aboutsummaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorHanspeter Portner <dev@open-music-kontrollers.ch>2015-05-16 08:58:19 +0200
committerHanspeter Portner <dev@open-music-kontrollers.ch>2015-05-16 08:58:19 +0200
commit4c8d4fde4c045485da97e1a462c9932188b080ab (patch)
tree2782ea98a89b7515857282e8e151ead4f1a2e582 /CMakeLists.txt
parent750f91b9c346a7576a837f18f2a9c391f0596f66 (diff)
downloadsherlock.lv2-4c8d4fde4c045485da97e1a462c9932188b080ab.tar.xz
fix build script
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index e3dece2..93f4a58 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -27,9 +27,9 @@ set(LIBS_UI ${LIBS_UI} ${ELM_LDFLAGS})
pkg_search_module(ECORE_X OPTIONAL ecore-x)
-if($(ECORE_X_FOUND) AND ((${ELM_VERSION} VERSION_EQUAL "1.13.0") OR (${ELM_VERSION} VERSION_GREATER "1.13.0")))
+if(${ECORE_X_FOUND} AND ((${ELM_VERSION} VERSION_EQUAL "1.13.0") OR (${ELM_VERSION} VERSION_GREATER "1.13.0")))
set(X11_UI_WRAP "")
- add_definitions("-DELM_HAS_FAKE")
+ add_definitions("-DX11_UI_WRAP")
else()
set(X11_UI_WRAP "#")
endif()