aboutsummaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorHanspeter Portner <dev@open-music-kontrollers.ch>2015-05-22 23:53:02 +0200
committerHanspeter Portner <dev@open-music-kontrollers.ch>2015-05-22 23:53:02 +0200
commit9426e8df0f608843eb27c8302ca07d14452bbcd5 (patch)
tree782aa5b978e0c40bb1055c5ad110a7eab8f5a029 /CMakeLists.txt
parente2ca7a0a79423020a4e4a8f8257224f32146879e (diff)
downloadsherlock.lv2-9426e8df0f608843eb27c8302ca07d14452bbcd5.tar.xz
remove submodule.
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt4
1 files changed, 3 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 93f4a58..6a8b270 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -27,10 +27,12 @@ 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((DEFINED ECORE_X_FOUND) AND ((${ELM_VERSION} VERSION_EQUAL "1.13.0") OR (${ELM_VERSION} VERSION_GREATER "1.13.0")))
+ message(STATUS "X11 UI wrap enabled")
set(X11_UI_WRAP "")
add_definitions("-DX11_UI_WRAP")
else()
+ message(STATUS "X11 UI wrap disabled")
set(X11_UI_WRAP "#")
endif()