aboutsummaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorHanspeter Portner <dev@open-music-kontrollers.ch>2015-04-05 20:33:58 +0200
committerHanspeter Portner <dev@open-music-kontrollers.ch>2015-04-05 20:33:58 +0200
commitf1ba6f519a28b21889c26dd60d46fe27907b7b25 (patch)
tree5ea311c4e2be0b57f8f4ed805b5e66b295dbbc82 /CMakeLists.txt
parente4c7d813eeab43865abb5595da6f4b4633239eb3 (diff)
downloadsherlock.lv2-f1ba6f519a28b21889c26dd60d46fe27907b7b25.tar.xz
update to eo_ui submodule
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt5
1 files changed, 5 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 330a3a7..2375de3 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -4,6 +4,7 @@ project(sherlock.lv2)
include_directories(${PROJECT_SOURCE_DIR})
include_directories(${PROJECT_SOURCE_DIR}/libosc)
+include_directories(${PROJECT_SOURCE_DIR}/eo_ui.lv2)
set(DEST lib/lv2/sherlock.lv2)
set(LIB_EXT ".so")
@@ -18,6 +19,10 @@ pkg_search_module(ELM REQUIRED elementary>=1.8)
include_directories(${ELM_INCLUDE_DIRS})
set(LIBS_UI ${LIBS_UI} ${ELM_LDFLAGS})
+if((${ELM_VERSION} VERSION_EQUAL "1.13.0") OR (${ELM_VERSION} VERSION_GREATER "1.13.0"))
+ add_definitions("-DELM_HAS_FAKE")
+endif()
+
add_library(sherlock MODULE
sherlock.c
atom_inspector.c)