mirror of
https://github.com/microsoft/vcpkg.git
synced 2025-01-01 13:37:55 +08:00
[opencv] Disable MSMF in UWP due to an upstream bug
This commit is contained in:
parent
ba69dd7de1
commit
66ad158be4
@ -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
|
||||
|
||||
|
@ -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}
|
||||
|
Loading…
x
Reference in New Issue
Block a user