1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-30 15:53:03 +04:00

Merge pull request #15207 from vicroms:fix-uwp-build

Fix build for UWP (#15207)

* Guard non-WinRT calls to fix UWP build

* Remove unnecessary guard for WinRT
This commit is contained in:
Victor Romero
2019-08-03 12:53:38 -07:00
committed by Alexander Alekhin
parent f9cefc84a3
commit f18cbd036a
3 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -852,7 +852,7 @@ macro(ocv_create_module)
set(the_module_target ${the_module})
endif()
if(WINRT)
if(WINRT AND BUILD_TESTS)
# removing APPCONTAINER from modules to run from console
# in case of usual starting of WinRT test apps output is missing
# so starting of console version w/o APPCONTAINER is required to get test results