[opencv] Disable MSMF in UWP due to an upstream bug

This commit is contained in:
Robert Schumacher 2017-11-03 14:44:11 -07:00
parent ba69dd7de1
commit 66ad158be4
2 changed files with 7 additions and 2 deletions

View File

@ -1,5 +1,5 @@
Source: opencv
Version: 3.3.1-5
Version: 3.3.1-6
Build-Depends: zlib, libpng, libjpeg-turbo, tiff, protobuf (windows)
Description: computer vision library

View File

@ -57,6 +57,11 @@ if("vtk" IN_LIST FEATURES)
set(WITH_VTK ON)
endif()
set(WITH_MSMF ON)
if(VCPKG_CMAKE_SYSTEM_NAME STREQUAL "WindowsStore")
set(WITH_MSMF OFF)
endif()
vcpkg_configure_cmake(
SOURCE_PATH ${SOURCE_PATH}
OPTIONS
@ -101,7 +106,7 @@ vcpkg_configure_cmake(
-DWITH_CUDA=${WITH_CUDA}
-DWITH_FFMPEG=${WITH_FFMPEG}
-DWITH_LAPACK=OFF
-DWITH_MSMF=ON
-DWITH_MSMF=${WITH_MSMF}
-DWITH_OPENCLAMDBLAS=OFF
-DWITH_OPENGL=ON
-DWITH_QT=${WITH_QT}