Further fixes for GCC throwing warnings in external files.
continuous-integration/drone/push Build is failing
Details
continuous-integration/drone/push Build is failing
Details
This commit is contained in:
parent
dfc6371522
commit
e8f3f93806
|
@ -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:
|
||||||
|
|
Loading…
Reference in New Issue