pineapple-src/externals/vcpkg/ports/opencv4/0004-fix-policy-CMP0057.patch

8 lines
242 B
Diff
Raw Normal View History

2022-07-23 03:01:36 +02:00
--- 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)