mirror of
https://github.com/pineappleEA/pineapple-src.git
synced 2024-12-02 07:28:25 -05:00
12 lines
466 B
Diff
12 lines
466 B
Diff
|
--- 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}"
|