Files
macports-ports/graphics/opencv4/files/patch-expose-gtk-choice.diff

16 lines
693 B
Diff

--- CMakeLists.txt 2021-10-09 02:31:56.000000000 +0800
+++ CMakeLists.txt 2024-07-17 01:29:42.000000000 +0800
@@ -274,10 +274,10 @@
VISIBLE_IF TRUE
VERIFY HAVE_GSTREAMER AND GSTREAMER_BASE_VERSION VERSION_LESS "1.0")
OCV_OPTION(WITH_GTK "Include GTK support" ON
- VISIBLE_IF UNIX AND NOT APPLE AND NOT ANDROID
+ VISIBLE_IF UNIX AND NOT ANDROID
VERIFY HAVE_GTK)
OCV_OPTION(WITH_GTK_2_X "Use GTK version 2" OFF
- VISIBLE_IF UNIX AND NOT APPLE AND NOT ANDROID
+ VISIBLE_IF UNIX AND NOT ANDROID
VERIFY HAVE_GTK AND NOT HAVE_GTK3)
OCV_OPTION(WITH_IPP "Include Intel IPP support" (NOT MINGW AND NOT CV_DISABLE_OPTIMIZATION)
VISIBLE_IF (X86_64 OR X86) AND NOT WINRT AND NOT IOS