summaryrefslogtreecommitdiffstats
path: root/SetFlags.cmake
diff options
context:
space:
mode:
authorTycho <work.tycho+git@gmail.com>2014-02-16 16:04:44 +0100
committerTycho <work.tycho+git@gmail.com>2014-02-16 16:04:44 +0100
commit6da2d2bb21000bf15f745c171e7a6d9d0e584084 (patch)
treec52d83a85b6b65bb9a43032527a1c2bcdcd10fcf /SetFlags.cmake
parentMerge pull request #687 from worktycho/Flags (diff)
downloadcuberite-6da2d2bb21000bf15f745c171e7a6d9d0e584084.tar
cuberite-6da2d2bb21000bf15f745c171e7a6d9d0e584084.tar.gz
cuberite-6da2d2bb21000bf15f745c171e7a6d9d0e584084.tar.bz2
cuberite-6da2d2bb21000bf15f745c171e7a6d9d0e584084.tar.lz
cuberite-6da2d2bb21000bf15f745c171e7a6d9d0e584084.tar.xz
cuberite-6da2d2bb21000bf15f745c171e7a6d9d0e584084.tar.zst
cuberite-6da2d2bb21000bf15f745c171e7a6d9d0e584084.zip
Diffstat (limited to 'SetFlags.cmake')
-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()