Only remove previous warning for gcc.
continuous-integration/drone/push Build is failing
Details
continuous-integration/drone/push Build is failing
Details
This commit is contained in:
parent
f629c5fb81
commit
178aea2224
|
@ -17,6 +17,10 @@ if (WINDOWS)
|
||||||
ADD_DEFINITIONS(-D WINDOWS=1)
|
ADD_DEFINITIONS(-D WINDOWS=1)
|
||||||
endif (WINDOWS)
|
endif (WINDOWS)
|
||||||
|
|
||||||
|
if (CMAKE_CXX_COMPILER_ID STREQUAL "GNU")
|
||||||
|
add_compile_options(-Wno-error=cast-function-type)
|
||||||
|
endif ()
|
||||||
|
|
||||||
message(STATUS "Using:
|
message(STATUS "Using:
|
||||||
\t C ${CMAKE_C_COMPILER}
|
\t C ${CMAKE_C_COMPILER}
|
||||||
\t C++ ${CMAKE_CXX_COMPILER}
|
\t C++ ${CMAKE_CXX_COMPILER}
|
||||||
|
|
Loading…
Reference in New Issue