How can I build with FFMPEG when using cmake

My building always excludes the 3d-moudel FFMPEG, even if I have made the “-D WITH_FFMPEG”.
cmake config results as below:
– Video I/O:
– DC1394: NO
– avcodec: YES (ver 58.134.100)
– avformat: YES (ver 58.76.100)
– avutil: YES (ver 56.70.100)
– swscale: YES (ver 5.9.100)
– avresample: NO
– GStreamer: NO
– libv4l/libv4l2: NO
– v4l/v4l2: linux/videodev2.h

what’s wrong with it

have been solved after rebuilt the FFMPEG