Commit 3e1695d6 authored by Alexander Alekhin's avatar Alexander Alekhin

cmake: fix ffmpeg check code

parent 85e01f3f
...@@ -236,6 +236,7 @@ if(WITH_FFMPEG) ...@@ -236,6 +236,7 @@ if(WITH_FFMPEG)
if(NOT __VALID_FFMPEG) if(NOT __VALID_FFMPEG)
#message(FATAL_ERROR "FFMPEG: test check build log:\n${TRY_OUT}") #message(FATAL_ERROR "FFMPEG: test check build log:\n${TRY_OUT}")
message(STATUS "WARNING: Can't build ffmpeg test code") message(STATUS "WARNING: Can't build ffmpeg test code")
set(HAVE_FFMPEG FALSE)
else() else()
ocv_append_build_options(VIDEOIO FFMPEG) ocv_append_build_options(VIDEOIO FFMPEG)
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