aboutsummaryrefslogtreecommitdiff
path: root/ports/opencv4/0004-fix-policy-CMP0057.patch
blob: b0d8307fc296273d03746d7027f48947dbd17866 (plain)
1
2
3
4
5
6
7
8
9
diff --git a/modules/videoio/CMakeLists.txt b/modules/videoio/CMakeLists.txt
index a31d969..fa779e4 100644
--- a/modules/videoio/CMakeLists.txt
+++ b/modules/videoio/CMakeLists.txt
@@ -1,3 +1,4 @@
+cmake_minimum_required(VERSION 3.3)
 set(VIDEOIO_PLUGIN_LIST "" CACHE STRING "List of videoio backends to be compiled as plugins (ffmpeg, gstreamer, mfx, msmf or special value 'all')")
 set(VIDEOIO_ENABLE_PLUGINS "ON" CACHE BOOL "Allow building videoio plugin support")
 set(VIDEOIO_ENABLE_STRICT_PLUGIN_CHECK "ON" CACHE BOOL "Make sure OpenCV version is the same in plugin and host code")