Ensure -Wall is enabled
This commit is contained in:
parent
8464f689ea
commit
bee7de25f1
@ -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})
|
||||
|
Loading…
Reference in New Issue
Block a user