aboutsummaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorHanspeter Portner <dev@open-music-kontrollers.ch>2015-05-06 18:32:34 +0200
committerHanspeter Portner <dev@open-music-kontrollers.ch>2015-05-06 18:32:34 +0200
commit04a3a9d232288c0dfb679a4b35d3ce348415dc01 (patch)
tree498794f84421a31946fd1047c6207a2c4188807d /CMakeLists.txt
parentfb52ea8350740e174fb607a0a6c147f047e31e53 (diff)
downloadsherlock.lv2-04a3a9d232288c0dfb679a4b35d3ce348415dc01.tar.xz
prep up build system. add through port.
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt10
1 files changed, 8 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 7ccb15f..bd8ff03 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -7,7 +7,13 @@ include_directories(${PROJECT_SOURCE_DIR}/libosc)
include_directories(${PROJECT_SOURCE_DIR}/eo_ui.lv2)
set(DEST lib/lv2/sherlock.lv2)
-set(LIB_EXT ".so")
+if(WIN32)
+ set(LIB_EXT ".dll")
+elseif(APPLE)
+ set(LIB_EXT ".so")
+else()
+ set(LIB_EXT ".so")
+endif()
find_package(PkgConfig) # ${PKG_CONFIG_FOUND}
@@ -23,7 +29,7 @@ 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)
+option(BUILD_X11_WRAPPER "Build X11 UI wrapper" ON)
if(${BUILD_X11_WRAPPER})
set(X11_UI_WRAP "")
else()