In the case that user wants to use the ffmpeg encoder and to find the variable in other CMake files, the following line is missing. SET( VTK_USE_FFMPEG_ENCODER "@VTK_USE_FFMPEG_ENCODER@" ) Could you please add it Thanks