aboutsummaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorHanspeter Portner <dev@open-music-kontrollers.ch>2015-05-27 00:06:53 +0200
committerHanspeter Portner <dev@open-music-kontrollers.ch>2015-05-27 00:06:53 +0200
commitd491a229b09b3e4c5b6de360d430c0e699637c38 (patch)
treeccfb21a295e4360d8c7657e722332b18a15c9e78 /CMakeLists.txt
parent20bddee1ce4eb6030eb200a4579a5a9cd0c234df (diff)
downloadsynthpod-d491a229b09b3e4c5b6de360d430c0e699637c38.tar.xz
fix gnu11 flags.
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt4
1 files changed, 1 insertions, 3 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index cd8da3aa..01009fd5 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -12,9 +12,7 @@ include_directories(${PROJECT_SOURCE_DIR})
include_directories(${PROJECT_BINARY_DIR})
set(APP_DIR share/synthpod)
-if(WIN32)
- add_definitions("-std=gnu11")
-endif()
+set(CMAKE_C_FLAGS "-std=gnu11 ${CMAKE_C_FLAGS}")
# options
option(BUILD_UI "Build user interface libraries" OFF)