Added GCC/Clang support for other rel configs

This commit is contained in:
Billy Robert O'Neal III 2016-04-27 18:49:17 -07:00
parent d89ab075fd
commit 09edc486b8
1 changed files with 2 additions and 0 deletions

View File

@ -71,6 +71,8 @@ else()
add_cxx_compiler_flag(-Wextra)
add_cxx_compiler_flag(-Wshadow)
add_cxx_compiler_flag(-Werror RELEASE)
add_cxx_compiler_flag(-Werror RELWITHDEBINFO)
add_cxx_compiler_flag(-Werror MINSIZEREL)
add_cxx_compiler_flag(-pedantic)
add_cxx_compiler_flag(-pedantic-errors)
add_cxx_compiler_flag(-Wshorten-64-to-32)