[opencv] 03/53: cmake: fix ffmpeg check code

Nobuhiro Iwamatsu iwamatsu at moszumanska.debian.org
Sun Aug 27 23:27:01 UTC 2017


This is an automated email from the git hooks/post-receive script.

iwamatsu pushed a commit to annotated tag 2.4.13.3
in repository opencv.

commit 9d45f15627417b3b61a9d677215e0c7688f04c1b
Author: Alexander Alekhin <alexander.alekhin at intel.com>
Date:   Mon Dec 19 00:22:16 2016 +0300

    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 cadc74e..ac8c65f 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()

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/opencv.git



More information about the debian-science-commits mailing list