diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2017-12-16 19:36:32 -0800 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2017-12-17 09:08:21 -0800 |
commit | bd66ab15da4c6b2234d3e094f2c5bc6425907f5d (patch) | |
tree | b04fce6d57d431dfb8d224f757eac4abd98c3a43 | |
parent | b59778abd8717ada5b592e8afc08dace0b7538a1 (diff) | |
download | subsurface-bd66ab15da4c6b2234d3e094f2c5bc6425907f5d.tar.gz |
Turn on -Wall
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
-rw-r--r-- | CMakeLists.txt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 5827304c1..e8d9b9e87 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -96,6 +96,10 @@ elseif ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "MSVC") # using Visual Studio C++ endif() +# every compiler understands -Wall +set (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall") +set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall") + # pkgconfig for required libraries find_package(PkgConfig) include(cmake/Modules/pkgconfig_helper.cmake) |