2019-08-24 03:48:09 +08:00
|
|
|
diff --git a/cmake/OpenCVModule.cmake b/cmake/OpenCVModule.cmake
|
2021-06-22 04:21:02 +08:00
|
|
|
index 224953a..3b3a3b2 100644
|
2018-02-22 08:47:42 +08:00
|
|
|
--- a/cmake/OpenCVModule.cmake
|
|
|
|
+++ b/cmake/OpenCVModule.cmake
|
2021-06-22 04:21:02 +08:00
|
|
|
@@ -1200,7 +1200,7 @@ function(ocv_add_perf_tests)
|
2020-07-28 08:43:23 +08:00
|
|
|
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}"
|