aboutsummaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorHanspeter Portner <dev@open-music-kontrollers.ch>2015-05-05 14:29:48 +0200
committerHanspeter Portner <dev@open-music-kontrollers.ch>2015-05-05 14:29:48 +0200
commit5530373a05ac6da7541b2b519154965461df0c12 (patch)
treeb351f6e6cf47d666f8e1448078d896b42a0b0997 /CMakeLists.txt
parent1463aa4f5ad1cea70d3f0e4a02a1118850d8e725 (diff)
downloadsherlock.lv2-5530373a05ac6da7541b2b519154965461df0c12.tar.xz
add build option for X11 wrap.
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt7
1 files changed, 7 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 2375de3..7ccb15f 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -23,6 +23,13 @@ if((${ELM_VERSION} VERSION_EQUAL "1.13.0") OR (${ELM_VERSION} VERSION_GREATER "1
add_definitions("-DELM_HAS_FAKE")
endif()
+option(BUILD_X11_WRAPPER ON)
+if(${BUILD_X11_WRAPPER})
+ set(X11_UI_WRAP "")
+else()
+ set(X11_UI_WRAP "#")
+endif()
+
add_library(sherlock MODULE
sherlock.c
atom_inspector.c)