aboutsummaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index b95f7fd277..c6c2742737 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -29,7 +29,8 @@ if(APPLE)
endif()
endif()
-add_definitions(-Wall -Wextra -pedantic -Wno-unused-parameter -std=gnu99)
+add_definitions(-Wall -Wextra -pedantic -Wno-unused-parameter
+ -Wstrict-prototypes -std=gnu99)
option(
TRAVIS_CI_BUILD "Travis CI build. Extra compilation flags will be set." OFF)