Further fixes for GCC throwing warnings in external files.
continuous-integration/drone/push Build is failing Details

This commit is contained in:
Deukhoofd 2020-07-18 14:15:39 +02:00
parent 723eb953a1
commit 1c92b3d7b9
Signed by: Deukhoofd
GPG Key ID: ADF2E9256009EDCE
1 changed files with 1 additions and 1 deletions

View File

@ -18,7 +18,7 @@ if (WINDOWS)
endif (WINDOWS)
if (CMAKE_CXX_COMPILER_ID STREQUAL "GNU")
add_compile_options(-Wno-error=cast-function-type -Wno-cast-function-type)
add_compile_options(-Wno-error=cast-function-type -Wno-cast-function-type -Werror=type-limits)
endif ()
message(STATUS "Using: