aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPřemysl Janouch <p.janouch@gmail.com>2016-03-10 21:53:37 +0100
committerPřemysl Janouch <p.janouch@gmail.com>2016-03-10 21:53:37 +0100
commitf4e02913f52c1bce29aec5a37ebe0eb2bff9f7ee (patch)
tree18054b4ad5cd9d548fc68379adf9464b85943897
parent2358f2c139b0bdbf5c840acaede02a283f0a19bb (diff)
downloaddesktop-tools-f4e02913f52c1bce29aec5a37ebe0eb2bff9f7ee.tar.gz
desktop-tools-f4e02913f52c1bce29aec5a37ebe0eb2bff9f7ee.tar.xz
desktop-tools-f4e02913f52c1bce29aec5a37ebe0eb2bff9f7ee.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 14a08a0..07dac4b 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -4,7 +4,8 @@ cmake_minimum_required (VERSION 2.8.11)
# 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)
# Version