disable vtk and cuda by default

This commit is contained in:
jasjuang 2017-09-05 15:31:36 -07:00
parent 2b178b3cb6
commit 46db0f03fc
2 changed files with 5 additions and 1 deletions

View File

@ -1,4 +1,5 @@
Source: opencv
Version: 3.3.0
Build-Depends: zlib, libpng, libjpeg-turbo, tiff, vtk, protobuf, ceres, ffmpeg
# Optional: Add in vtk to build with VTK and cuda to build with CUDA
Build-Depends: zlib, libpng, libjpeg-turbo, tiff, protobuf, ceres, ffmpeg
Description: computer vision library

View File

@ -56,6 +56,7 @@ vcpkg_configure_cmake(
-DOPENCV_CONFIG_INSTALL_PATH=share/opencv
-DOPENCV_OTHER_INSTALL_PATH=share/opencv
-DINSTALL_LICENSE=OFF
# Optional: change to ON to build with CUDA
-DWITH_CUDA=OFF
-DWITH_CUBLAS=OFF
-DWITH_OPENCLAMDBLAS=OFF
@ -65,6 +66,8 @@ vcpkg_configure_cmake(
-DBUILD_PROTOBUF=OFF
-DUPDATE_PROTO_FILES=ON
-DPROTOBUF_UPDATE_FILES=ON
# Optional: change to ON to build with VTK
-DWITH_VTK=OFF
OPTIONS_DEBUG
-DINSTALL_HEADERS=OFF
-DINSTALL_OTHER=OFF