Add option to enable Qt GUI support

Add option to enable Qt GUI support.
This commit is contained in:
Tsukasa Sugiura 2017-11-02 01:07:26 +09:00
parent 51661ed675
commit 5a9662c2be
2 changed files with 10 additions and 0 deletions

View File

@ -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

View File

@ -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