aboutsummaryrefslogtreecommitdiff
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
parent1463aa4f5ad1cea70d3f0e4a02a1118850d8e725 (diff)
downloadsherlock.lv2-5530373a05ac6da7541b2b519154965461df0c12.tar.xz
add build option for X11 wrap.
-rw-r--r--CMakeLists.txt7
-rw-r--r--manifest.ttl.in8
2 files changed, 11 insertions, 4 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)
diff --git a/manifest.ttl.in b/manifest.ttl.in
index db67990..d6e3e82 100644
--- a/manifest.ttl.in
+++ b/manifest.ttl.in
@@ -35,10 +35,10 @@ kx:Host
sherlock:atom_inspector
a lv2:Plugin ;
lv2:binary <sherlock@LIB_EXT@> ;
- ui:ui sherlock:atom_inspector_eo ;
- ui:ui sherlock:atom_inspector_ui ;
- ui:ui sherlock:atom_inspector_x11 ;
- ui:ui sherlock:atom_inspector_kx ;
+ @EO_UI_WRAP@ui:ui sherlock:atom_inspector_eo ;
+ @UI_UI_WRAP@ui:ui sherlock:atom_inspector_ui ;
+ @KX_UI_WRAP@ui:ui sherlock:atom_inspector_kx ;
+ @X11_UI_WRAP@ui:ui sherlock:atom_inspector_x11 ;
rdfs:seeAlso <sherlock.ttl> .
sherlock:atom_inspector_eo