Disabled -Wextra as the warning it generates is bengin and fixing it would introduce warnings on other platforms

This commit is contained in:
Robert Osfield 2016-06-08 13:22:54 +01:00
parent b72929d84b
commit d022da5906

View File

@ -1,4 +1,14 @@
SET(TARGET_SRC osguserdata.cpp)
################################################################################
## Quieten warnings that a due to optional code paths
IF(CMAKE_COMPILER_IS_GNUCXX)
# Remove -Wextra flag as it barfs on ffmoeg headers
STRING(REGEX REPLACE "-Wextra" "" CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS}")
ENDIF()
#### end var setup ###
SETUP_EXAMPLE(osguserdata)