mirror of
https://github.com/opencv/opencv.git
synced 2025-06-11 11:45:30 +08:00
cmake: fix ffmpeg check code
This commit is contained in:
parent
85e01f3ffe
commit
3e1695d6e3
@ -236,6 +236,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(VIDEOIO FFMPEG)
|
||||
endif()
|
||||
|
Loading…
Reference in New Issue
Block a user