Skip to content

Commit abc210d

Browse files
authored
Downgrade OpenCV message to WARNING
1 parent 1cc13e7 commit abc210d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -396,7 +396,7 @@ if(ENABLE_OPENCV)
396396
"Build with OpenCV algorithms (requires Protobuf 3)" FORCE)
397397
# If we have version 4.5.1, all hope is lost
398398
elseif(OpenCV_VERSION VERSION_EQUAL "4.5.1")
399-
message(SEND_ERROR [[Incompatible OpenCV version detected
399+
message(WARNING [[Incompatible OpenCV version detected
400400
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.
401401
See https://github.com/opencv/opencv/issues/19260]])
402402
set(ENABLE_OPENCV FALSE CACHE BOOL

0 commit comments

Comments
 (0)