aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPřemysl Janouch <p.janouch@gmail.com>2016-03-14 20:55:13 +0100
committerPřemysl Janouch <p.janouch@gmail.com>2016-03-14 20:55:26 +0100
commit80083d4f926145de35222008b00a8b2ff9c904f7 (patch)
tree90f7393a7752a8431a6a92f082ac360f6ea9f45b
parentce13d8328e4f84f2d2134b767493a143dbf189eb (diff)
downloadneetdraw-80083d4f926145de35222008b00a8b2ff9c904f7.tar.gz
neetdraw-80083d4f926145de35222008b00a8b2ff9c904f7.tar.xz
neetdraw-80083d4f926145de35222008b00a8b2ff9c904f7.zip
Don't force compile flags
-rw-r--r--CMakeLists.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 1be90f0..c37495b 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -4,7 +4,8 @@ cmake_minimum_required (VERSION 2.8.5)
# Moar warnings
if ("${CMAKE_C_COMPILER_ID}" MATCHES "GNU" OR CMAKE_COMPILER_IS_GNUC)
# -Wunused-function is pretty annoying here, as everything is static
- set (CMAKE_C_FLAGS "-std=c99 -Wall -Wextra -Wno-unused-function")
+ set (CMAKE_C_FLAGS
+ "${CMAKE_C_FLAGS} -std=c99 -Wall -Wextra -Wno-unused-function")
endif ("${CMAKE_C_COMPILER_ID}" MATCHES "GNU" OR CMAKE_COMPILER_IS_GNUC)
if ("${CMAKE_SYSTEM_NAME}" MATCHES "BSD")