You've already forked libopenshot
mirror of
https://github.com/OpenShot/libopenshot.git
synced 2026-03-02 08:53:52 -08:00
Merge pull request #664 from ferdnyc/defense-against-the-dark-opencv451
Downgrade OpenCV 4.5.1 msg to WARNING
This commit is contained in:
@@ -396,7 +396,7 @@ if(ENABLE_OPENCV)
|
||||
"Build with OpenCV algorithms (requires Protobuf 3)" FORCE)
|
||||
# If we have version 4.5.1, all hope is lost
|
||||
elseif(OpenCV_VERSION VERSION_EQUAL 4.5.1)
|
||||
message(SEND_ERROR [[Incompatible OpenCV version detected
|
||||
message(WARNING [[Incompatible OpenCV version detected
|
||||
OpenCV version 4.5.1 contains header errors which make it unable to be used with OpenShot. OpenCV support wil be disabled. Upgrade to OpenCV 4.5.2+ or downgrade to 4.5.0 or earlier, to enable OpenCV.
|
||||
See https://github.com/opencv/opencv/issues/19260]])
|
||||
set(ENABLE_OPENCV FALSE CACHE BOOL
|
||||
|
||||
Reference in New Issue
Block a user