Commit b4d738ca authored by François Grisez's avatar François Grisez
Browse files

Disable deprecation warning on source files using FFMpeg API

parent 12758ffa
...@@ -620,6 +620,9 @@ if(FFMPEG_FOUND AND NOT WIN32) ...@@ -620,6 +620,9 @@ if(FFMPEG_FOUND AND NOT WIN32)
set_source_files_properties( set_source_files_properties(
videofilters/jpegwriter.c videofilters/jpegwriter.c
videofilters/videoenc.c videofilters/videoenc.c
PROPERTIES COMPILE_FLAGS "-Wno-error=deprecated-declarations" PROPERTIES COMPILE_FLAGS "-Wno-error=deprecated-declarations"
) )
endif() endif()
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment