aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/opencv3/0006-fix-uwp.patch
diff options
context:
space:
mode:
authorEthan Morgan <ethan@gweithio.com>2026-02-14 16:44:06 +0000
committerEthan Morgan <ethan@gweithio.com>2026-02-14 16:44:06 +0000
commit54409423f767d8b1cf30cb7d0efca6b4ca138823 (patch)
treed915ac7828703ce4b963efdd9728a1777ba18c1e /vcpkg/ports/opencv3/0006-fix-uwp.patch
move to own git serverHEADmaster
Diffstat (limited to 'vcpkg/ports/opencv3/0006-fix-uwp.patch')
-rw-r--r--vcpkg/ports/opencv3/0006-fix-uwp.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/vcpkg/ports/opencv3/0006-fix-uwp.patch b/vcpkg/ports/opencv3/0006-fix-uwp.patch
new file mode 100644
index 0000000..cc0216b
--- /dev/null
+++ b/vcpkg/ports/opencv3/0006-fix-uwp.patch
@@ -0,0 +1,11 @@
+--- a/cmake/OpenCVModule.cmake
++++ b/cmake/OpenCVModule.cmake
+@@ -1188,7 +1188,7 @@ function(ocv_add_perf_tests)
+ set_target_properties(${the_target} PROPERTIES FOLDER "tests performance")
+ endif()
+
+- if(WINRT)
++ if(WINRT AND BUILD_TESTS)
+ # removing APPCONTAINER from tests to run from console
+ # look for detailed description inside of ocv_create_module macro above
+ add_custom_command(TARGET "opencv_perf_${name}"