Disabled -Wextra as the warning it generates is bengin and fixing it would introduce warnings on other platforms
This commit is contained in:
parent
b72929d84b
commit
d022da5906
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user