aboutsummaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorHanspeter Portner <dev@open-music-kontrollers.ch>2015-03-29 14:45:50 +0200
committerHanspeter Portner <dev@open-music-kontrollers.ch>2015-03-29 14:45:50 +0200
commit92d545eeec6e94bd4be187b0a283be04e387c851 (patch)
tree219f6ed0e8803735036a11494bcb562ab677cecc /CMakeLists.txt
parent6529986ee49fb38dfbc4b87638c87ad225633664 (diff)
downloadsynthpod-92d545eeec6e94bd4be187b0a283be04e387c851.tar.xz
add checks in driver callbacks.
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt23
1 files changed, 9 insertions, 14 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 2188f344..3131c02c 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -13,22 +13,14 @@ include_directories(${PROJECT_BINARY_DIR})
set(APP_DIR share/synthpod)
#set(LIBS "")
#add_definitions("-std=gnu99" "-fdump-rtl-expand")
-
-# libuv
-pkg_search_module(UV REQUIRED libuv>=1.0)
-include_directories(${UV_INCLUDE_DIRS})
-
-# libuv
-pkg_search_module(UV REQUIRED libuv>=1.0)
-include_directories(${UV_INCLUDE_DIRS})
# eina
pkg_search_module(EINA REQUIRED eina>=1.8)
include_directories(${EINA_INCLUDE_DIRS})
-
-# elm
-pkg_search_module(ELM REQUIRED elementary>=1.8)
-include_directories(${ELM_INCLUDE_DIRS})
+
+# libuv
+pkg_search_module(UV REQUIRED libuv>=1.0)
+include_directories(${UV_INCLUDE_DIRS})
# lilv
pkg_search_module(LILV REQUIRED lilv-0>=0.20)
@@ -42,9 +34,12 @@ include_directories(${LV2_INCLUDE_DIRS})
pkg_search_module(UUID REQUIRED uuid>=2.25)
include_directories(${UUID_INCLUDE_DIRS})
+option(BUILD_UI OFF)
+if(BUILD_UI)
# elm
-pkg_search_module(ELM REQUIRED elementary>=1.8)
-include_directories(${ELM_INCLUDE_DIRS})
+ pkg_search_module(ELM REQUIRED elementary>=1.8)
+ include_directories(${ELM_INCLUDE_DIRS})
+endif()
add_executable(test_varchunk
test_varchunk.c