diff options
author | Přemysl Janouch <p.janouch@gmail.com> | 2015-02-28 21:33:08 +0100 |
---|---|---|
committer | Přemysl Janouch <p.janouch@gmail.com> | 2015-02-28 21:33:08 +0100 |
commit | 3748bc5d149512b5ef89592b93203fe80e8447ed (patch) | |
tree | 261d021d62d811ebd50338a0e6aaecefbb50d79d /CMakeLists.txt | |
parent | 69e35888e27e4afc06c7d5e881b54c1e5edaf5be (diff) | |
download | neetdraw-3748bc5d149512b5ef89592b93203fe80e8447ed.tar.gz neetdraw-3748bc5d149512b5ef89592b93203fe80e8447ed.tar.xz neetdraw-3748bc5d149512b5ef89592b93203fe80e8447ed.zip |
Move to liberty
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 16a9345..2615758 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -3,9 +3,8 @@ cmake_minimum_required (VERSION 2.8.5) # Moar warnings if ("${CMAKE_C_COMPILER_ID}" MATCHES "GNU" OR CMAKE_COMPILER_IS_GNUC) - set (CMAKE_C_FLAGS "-std=gnu99") - set (CMAKE_C_FLAGS_DEBUG - "${CMAKE_C_FLAGS_DEBUG} -Wall -Wextra -Wno-missing-field-initializers") + # -Wunused-function is pretty annoying here, as everything is static + set (CMAKE_C_FLAGS "-std=c99 -Wall -Wextra -Wno-unused-function") endif ("${CMAKE_C_COMPILER_ID}" MATCHES "GNU" OR CMAKE_COMPILER_IS_GNUC) # Build options |