aboutsummaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorHanspeter Portner <dev@open-music-kontrollers.ch>2015-09-12 20:54:43 +0200
committerHanspeter Portner <dev@open-music-kontrollers.ch>2015-09-12 20:54:43 +0200
commit864c9e7218bc3c0b7973151cb9b0b91d66adc90e (patch)
tree2a66a4f9c2088d320f0a8f82c595644a0c0347b3 /CMakeLists.txt
parentce806d7b95a2220a9cbd77fc5d5dc9247a36548c (diff)
downloadsynthpod-864c9e7218bc3c0b7973151cb9b0b91d66adc90e.tar.xz
remove GUI build option, add GUI cli argument.
* remove GUI build option * add command line argument to disable GUI * split man page in two.
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt17
1 files changed, 6 insertions, 11 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index b166e563..fbf0aa9c 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -31,7 +31,6 @@ set(CMAKE_CXX_FLAGS "-std=gnu++11 -ffast-math -fvisibility=hidden ${CMAKE_CXX_FL
set(CMAKE_MODULE_LINKER_FLAGS "-Wl,-z,nodelete ${CMAKE_MODULE_LINKER_FLAGS}")
# options
-option(BUILD_UI "Build user interface libraries" ON)
option(BUILD_JACK "Build JACK standalone host" ON)
option(BUILD_ALSA "Build ALSA standalone host (experimental)" OFF)
@@ -72,20 +71,16 @@ include_directories(${LILV_INCLUDE_DIRS})
pkg_search_module(LV2 REQUIRED lv2>=1.10)
include_directories(${LV2_INCLUDE_DIRS})
-if(BUILD_UI)
- add_definitions("-DBUILD_UI")
-
# elm
- pkg_search_module(ELM REQUIRED elementary>=1.8)
- include_directories(${ELM_INCLUDE_DIRS})
-
- if((${ELM_VERSION} VERSION_EQUAL "1.10.0") OR (${ELM_VERSION} VERSION_GREATER "1.10.0"))
- add_definitions("-DELM_1_10")
- endif()
+pkg_search_module(ELM REQUIRED elementary>=1.8)
+include_directories(${ELM_INCLUDE_DIRS})
- pkg_search_module(ECORE_X OPTIONAL ecore-x)
+if((${ELM_VERSION} VERSION_EQUAL "1.10.0") OR (${ELM_VERSION} VERSION_GREATER "1.10.0"))
+ add_definitions("-DELM_1_10")
endif()
+pkg_search_module(ECORE_X OPTIONAL ecore-x)
+
add_subdirectory(lib)
add_subdirectory(bin)
add_subdirectory(plugins)