vcpkg/ports/opencv4/0006-fix-uwp.patch
Stefano Sinigardi 09019cbc9a
[OpenCV] fix protobuf references (#19770)
* [OpenCV] fix protobuf targets

* [OpenCV] fix port versions

* [OpenCV] fix references
2021-09-03 22:25:12 -07:00

12 lines
466 B
Diff

--- a/cmake/OpenCVModule.cmake
+++ b/cmake/OpenCVModule.cmake
@@ -1205,7 +1205,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}"