pineapple/externals/vcpkg/ports/opencv4/0004-fix-policy-CMP0057.patch
2022-07-23 03:01:36 +02:00

7 lines
242 B
Diff
Executable file

--- a/modules/videoio/CMakeLists.txt
+++ b/modules/videoio/CMakeLists.txt
@@ -1,3 +1,4 @@
+cmake_minimum_required(VERSION 3.3)
set(VIDEOIO_ENABLE_PLUGINS_DEFAULT ON)
if(EMSCRIPTEN OR IOS OR WINRT)
set(VIDEOIO_ENABLE_PLUGINS_DEFAULT OFF)