1
0
Fork 0

Ensure -Wall is enabled

This commit is contained in:
Tycho 2014-02-04 11:15:41 -08:00
parent 8464f689ea
commit bee7de25f1
1 changed files with 1 additions and 0 deletions

View File

@ -208,6 +208,7 @@ if (NOT MSVC)
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")
endif()
if(${BUILD_TOOLS})