vcpkg/ports/opencv3/0006-fix-uwp.patch
Stefano Sinigardi a7d3367cec
[OpenCV] update to 4.5.2 (#18572)
* [OpenCV] update to 4.5.2

* update version refs

* [OpenCV4] fix qt integration

* fix refs
2021-06-21 13:21:02 -07:00

14 lines
561 B
Diff

diff --git a/cmake/OpenCVModule.cmake b/cmake/OpenCVModule.cmake
index bcbca83..872f05f 100644
--- a/cmake/OpenCVModule.cmake
+++ b/cmake/OpenCVModule.cmake
@@ -1186,7 +1186,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}"