Suppress gcc warnings emitted by external headers
This commit is contained in:
parent
42cc008c06
commit
2864a75ad2
@ -59,6 +59,12 @@ ELSE(WIN32 OR APPLE)
|
||||
|
||||
ENDIF(WIN32 OR APPLE)
|
||||
|
||||
|
||||
IF(CMAKE_COMPILER_IS_GNUCXX)
|
||||
SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wstrict-aliasing=0")
|
||||
ENDIF(CMAKE_COMPILER_IS_GNUCXX)
|
||||
|
||||
|
||||
SET(TARGET_ADDED_LIBRARIES osgWidget osgViewer)
|
||||
|
||||
#### end var setup ###
|
||||
|
@ -7,5 +7,10 @@ SET(TARGET_SRC
|
||||
|
||||
SET(TARGET_LIBRARIES_VARS XINE_LIBRARY )
|
||||
|
||||
IF(CMAKE_COMPILER_IS_GNUCXX)
|
||||
SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wno-deprecated-declarations")
|
||||
ENDIF(CMAKE_COMPILER_IS_GNUCXX)
|
||||
|
||||
|
||||
#### end var setup ###
|
||||
SETUP_PLUGIN(xine)
|
||||
|
Loading…
Reference in New Issue
Block a user