mingw-opencv/opencv_unbundle.patch

26 lines
2.6 KiB
Diff
Raw Normal View History

2023-01-17 12:41:01 +00:00
diff -rupN --no-dereference opencv-4.7.0/CMakeLists.txt opencv-4.7.0-new/CMakeLists.txt
--- opencv-4.7.0/CMakeLists.txt 2022-12-28 15:31:52.000000000 +0100
+++ opencv-4.7.0-new/CMakeLists.txt 2023-01-17 11:36:07.041025106 +0100
2022-01-02 17:41:57 +00:00
@@ -217,14 +217,14 @@ OCV_OPTION(OPENCV_ENABLE_NONFREE "Enable
2020-06-30 15:18:15 +00:00
# 3rd party libs
OCV_OPTION(OPENCV_FORCE_3RDPARTY_BUILD "Force using 3rdparty code from source" OFF)
-OCV_OPTION(BUILD_ZLIB "Build zlib from source" (WIN32 OR APPLE OR OPENCV_FORCE_3RDPARTY_BUILD) )
-OCV_OPTION(BUILD_TIFF "Build libtiff from source" (WIN32 OR ANDROID OR APPLE OR OPENCV_FORCE_3RDPARTY_BUILD) )
2021-04-27 08:01:28 +00:00
-OCV_OPTION(BUILD_OPENJPEG "Build OpenJPEG from source" (WIN32 OR ANDROID OR APPLE OR OPENCV_FORCE_3RDPARTY_BUILD) )
2020-06-30 15:18:15 +00:00
-OCV_OPTION(BUILD_JASPER "Build libjasper from source" (WIN32 OR ANDROID OR APPLE OR OPENCV_FORCE_3RDPARTY_BUILD) )
-OCV_OPTION(BUILD_JPEG "Build libjpeg from source" (WIN32 OR ANDROID OR APPLE OR OPENCV_FORCE_3RDPARTY_BUILD) )
-OCV_OPTION(BUILD_PNG "Build libpng from source" (WIN32 OR ANDROID OR APPLE OR OPENCV_FORCE_3RDPARTY_BUILD) )
+OCV_OPTION(BUILD_ZLIB "Build zlib from source" (APPLE OR OPENCV_FORCE_3RDPARTY_BUILD) )
+OCV_OPTION(BUILD_TIFF "Build libtiff from source" (ANDROID OR APPLE OR OPENCV_FORCE_3RDPARTY_BUILD) )
2021-04-27 08:01:28 +00:00
+OCV_OPTION(BUILD_OPENJPEG "Build OpenJPEG from source" (ANDROID OR APPLE OR OPENCV_FORCE_3RDPARTY_BUILD) )
2020-06-30 15:18:15 +00:00
+OCV_OPTION(BUILD_JASPER "Build libjasper from source" (ANDROID OR APPLE OR OPENCV_FORCE_3RDPARTY_BUILD) )
+OCV_OPTION(BUILD_JPEG "Build libjpeg from source" (ANDROID OR APPLE OR OPENCV_FORCE_3RDPARTY_BUILD) )
+OCV_OPTION(BUILD_PNG "Build libpng from source" (ANDROID OR APPLE OR OPENCV_FORCE_3RDPARTY_BUILD) )
2022-01-02 17:41:57 +00:00
OCV_OPTION(BUILD_OPENEXR "Build openexr from source" (OPENCV_FORCE_3RDPARTY_BUILD) )
-OCV_OPTION(BUILD_WEBP "Build WebP from source" (((WIN32 OR ANDROID OR APPLE) AND NOT WINRT) OR OPENCV_FORCE_3RDPARTY_BUILD) )
2020-06-30 15:18:15 +00:00
+OCV_OPTION(BUILD_WEBP "Build WebP from source" (((ANDROID OR APPLE) AND NOT WINRT) OR OPENCV_FORCE_3RDPARTY_BUILD) )
OCV_OPTION(BUILD_TBB "Download and build TBB from source" (ANDROID OR OPENCV_FORCE_3RDPARTY_BUILD) )
OCV_OPTION(BUILD_IPP_IW "Build IPP IW from source" (NOT MINGW OR OPENCV_FORCE_3RDPARTY_BUILD) IF (X86_64 OR X86) AND NOT WINRT )
OCV_OPTION(BUILD_ITT "Build Intel ITT from source"