summaryrefslogtreecommitdiffstats
path: root/SetFlags.cmake
diff options
context:
space:
mode:
authorAlexander Harkness <bearbin@gmail.com>2014-02-17 12:04:00 +0100
committerAlexander Harkness <bearbin@gmail.com>2014-02-17 12:04:00 +0100
commit745ad159f3b365ca0ac100794a921af5c123c557 (patch)
tree9548c99eada8b4ad6ed818d24dc7abb127c76dd4 /SetFlags.cmake
parentMerge pull request #692 from mc-server/wolfcleanup (diff)
parentAdded -Wextra (diff)
downloadcuberite-745ad159f3b365ca0ac100794a921af5c123c557.tar
cuberite-745ad159f3b365ca0ac100794a921af5c123c557.tar.gz
cuberite-745ad159f3b365ca0ac100794a921af5c123c557.tar.bz2
cuberite-745ad159f3b365ca0ac100794a921af5c123c557.tar.lz
cuberite-745ad159f3b365ca0ac100794a921af5c123c557.tar.xz
cuberite-745ad159f3b365ca0ac100794a921af5c123c557.tar.zst
cuberite-745ad159f3b365ca0ac100794a921af5c123c557.zip
Diffstat (limited to '')
-rw-r--r--SetFlags.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/SetFlags.cmake b/SetFlags.cmake
index 162560c90..ded57e6d7 100644
--- a/SetFlags.cmake
+++ b/SetFlags.cmake
@@ -183,7 +183,7 @@ macro(set_exe_flags)
string(REPLACE "-w" "" CMAKE_C_FLAGS_RELEASE "${CMAKE_C_FLAGS_RELEASE}")
string(REPLACE "-w" "" CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG}")
string(REPLACE "-w" "" CMAKE_C_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG}")
- add_flags_cxx("-Wall")
+ add_flags_cxx("-Wall -Wextra")
endif()
endmacro()