diff --git a/src/osgPlugins/xine/CMakeLists.txt b/src/osgPlugins/xine/CMakeLists.txt index 7e953b4ec..b69ee38c9 100644 --- a/src/osgPlugins/xine/CMakeLists.txt +++ b/src/osgPlugins/xine/CMakeLists.txt @@ -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)