mirror of
https://github.com/microsoft/vcpkg.git
synced 2025-01-17 06:28:17 +08:00
Add option to enable Qt GUI support
Add option to enable Qt GUI support.
This commit is contained in:
parent
51661ed675
commit
5a9662c2be
@ -14,6 +14,10 @@ Feature: cuda
|
||||
Build-Depends: cuda
|
||||
Description: CUDA support for opencv
|
||||
|
||||
Feature: qt
|
||||
Build-Depends: qt5
|
||||
Description: Qt GUI support for opencv
|
||||
|
||||
Feature: sfm
|
||||
Build-Depends: eigen3, glog, gflags
|
||||
Description: opencv_sfm module
|
||||
|
@ -42,6 +42,11 @@ if("cuda" IN_LIST FEATURES)
|
||||
set(WITH_CUDA ON)
|
||||
endif()
|
||||
|
||||
set(WITH_QT OFF)
|
||||
if("qt" IN_LIST FEATURES)
|
||||
set(WITH_QT ON)
|
||||
endif()
|
||||
|
||||
set(WITH_VTK OFF)
|
||||
if("vtk" IN_LIST FEATURES)
|
||||
set(WITH_VTK ON)
|
||||
@ -92,6 +97,7 @@ vcpkg_configure_cmake(
|
||||
-DWITH_FFMPEG=${WITH_FFMPEG}
|
||||
-DWITH_CUDA=${WITH_CUDA}
|
||||
-DWITH_OPENGL=ON
|
||||
-DWITH_QT=${WITH_QT}
|
||||
-DWITH_VTK=${WITH_VTK}
|
||||
OPTIONS_DEBUG
|
||||
-DINSTALL_HEADERS=OFF
|
||||
|
Loading…
x
Reference in New Issue
Block a user