From 9d45f15627417b3b61a9d677215e0c7688f04c1b Mon Sep 17 00:00:00 2001 From: Alexander Alekhin Date: Mon, 19 Dec 2016 00:22:16 +0300 Subject: [PATCH] cmake: fix ffmpeg check code --- cmake/OpenCVFindLibsVideo.cmake | 1 + 1 file changed, 1 insertion(+) diff --git a/cmake/OpenCVFindLibsVideo.cmake b/cmake/OpenCVFindLibsVideo.cmake index cadc74eb74..ac8c65f2ed 100644 --- a/cmake/OpenCVFindLibsVideo.cmake +++ b/cmake/OpenCVFindLibsVideo.cmake @@ -213,6 +213,7 @@ if(WITH_FFMPEG) if(NOT __VALID_FFMPEG) #message(FATAL_ERROR "FFMPEG: test check build log:\n${TRY_OUT}") message(STATUS "WARNING: Can't build ffmpeg test code") + set(HAVE_FFMPEG FALSE) else() ocv_append_build_options(HIGHGUI FFMPEG) endif()