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:28:59 +02:00
parent dfc6371522
commit e8f3f93806
Signed by: Deukhoofd
GPG Key ID: ADF2E9256009EDCE
1 changed files with 3 additions and 1 deletions

View File

@ -18,7 +18,9 @@ if (WINDOWS)
endif (WINDOWS) endif (WINDOWS)
if (CMAKE_CXX_COMPILER_ID STREQUAL "GNU") if (CMAKE_CXX_COMPILER_ID STREQUAL "GNU")
add_compile_options(-Wno-error=cast-function-type -Wno-cast-function-type -Wno-error=type-limits) # The angelscript libraries break these warnings extensively. Turn them off.
add_compile_options(-Wno-error=cast-function-type -Wno-cast-function-type)
add_compile_options(-Wno-error=type-limits -Wno-type-limits)
endif () endif ()
message(STATUS "Using: message(STATUS "Using: