Skip to content

Commit

Permalink
Downgrade OpenCV 4.5.1 msg to WARNING
Browse files Browse the repository at this point in the history
  • Loading branch information
ferdnyc committed Apr 24, 2021
1 parent acda566 commit 3a4f2ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/CMakeLists.txt
Expand Up @@ -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
Expand Down

0 comments on commit 3a4f2ae

Please sign in to comment.