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:
committed by
Alexander Alekhin
parent
f9cefc84a3
commit
f18cbd036a
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user