mirror of
https://github.com/microsoft/vcpkg.git
synced 2025-01-18 13:13:34 +08:00
commit
93400414b0
@ -1,19 +1,23 @@
|
|||||||
Source: opencv
|
Source: opencv
|
||||||
Version: 3.3.1-3
|
Version: 3.3.1-4
|
||||||
Build-Depends: zlib, libpng, libjpeg-turbo, tiff, protobuf (windows)
|
Build-Depends: zlib, libpng, libjpeg-turbo, tiff, protobuf (windows)
|
||||||
Description: computer vision library
|
Description: computer vision library
|
||||||
|
|
||||||
Feature: ffmpeg
|
Feature: sfm
|
||||||
Description: prebuilt ffmpeg support for opencv
|
Build-Depends: eigen3, glog, gflags
|
||||||
|
Description: opencv_sfm module
|
||||||
Feature: vtk
|
|
||||||
Build-Depends: vtk
|
|
||||||
Description: vtk support for opencv
|
|
||||||
|
|
||||||
Feature: cuda
|
Feature: cuda
|
||||||
Build-Depends: cuda
|
Build-Depends: cuda
|
||||||
Description: CUDA support for opencv
|
Description: CUDA support for opencv
|
||||||
|
|
||||||
Feature: sfm
|
Feature: ffmpeg
|
||||||
Build-Depends: eigen3, glog, gflags
|
Description: prebuilt ffmpeg support for opencv
|
||||||
Description: opencv_sfm module
|
|
||||||
|
Feature: qt
|
||||||
|
Build-Depends: qt5
|
||||||
|
Description: Qt GUI support for opencv
|
||||||
|
|
||||||
|
Feature: vtk
|
||||||
|
Build-Depends: vtk
|
||||||
|
Description: vtk support for opencv
|
||||||
|
@ -32,9 +32,9 @@ vcpkg_apply_patches(
|
|||||||
|
|
||||||
string(COMPARE EQUAL "${VCPKG_CRT_LINKAGE}" "static" BUILD_WITH_STATIC_CRT)
|
string(COMPARE EQUAL "${VCPKG_CRT_LINKAGE}" "static" BUILD_WITH_STATIC_CRT)
|
||||||
|
|
||||||
set(WITH_FFMPEG OFF)
|
set(BUILD_opencv_sfm OFF)
|
||||||
if("ffmpeg" IN_LIST FEATURES)
|
if("sfm" IN_LIST FEATURES)
|
||||||
set(WITH_FFMPEG ON)
|
set(BUILD_opencv_sfm ON)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
set(WITH_CUDA OFF)
|
set(WITH_CUDA OFF)
|
||||||
@ -42,55 +42,67 @@ if("cuda" IN_LIST FEATURES)
|
|||||||
set(WITH_CUDA ON)
|
set(WITH_CUDA ON)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
set(WITH_FFMPEG OFF)
|
||||||
|
if("ffmpeg" IN_LIST FEATURES)
|
||||||
|
set(WITH_FFMPEG ON)
|
||||||
|
endif()
|
||||||
|
|
||||||
|
set(WITH_QT OFF)
|
||||||
|
if("qt" IN_LIST FEATURES)
|
||||||
|
set(WITH_QT ON)
|
||||||
|
endif()
|
||||||
|
|
||||||
set(WITH_VTK OFF)
|
set(WITH_VTK OFF)
|
||||||
if("vtk" IN_LIST FEATURES)
|
if("vtk" IN_LIST FEATURES)
|
||||||
set(WITH_VTK ON)
|
set(WITH_VTK ON)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
set(BUILD_opencv_sfm OFF)
|
|
||||||
if("sfm" IN_LIST FEATURES)
|
|
||||||
set(BUILD_opencv_sfm ON)
|
|
||||||
endif()
|
|
||||||
|
|
||||||
vcpkg_configure_cmake(
|
vcpkg_configure_cmake(
|
||||||
SOURCE_PATH ${SOURCE_PATH}
|
SOURCE_PATH ${SOURCE_PATH}
|
||||||
OPTIONS
|
OPTIONS
|
||||||
"-DOPENCV_DOWNLOAD_PATH=${DOWNLOADS}/opencv-cache"
|
# Ungrouped Entries
|
||||||
-DBUILD_WITH_STATIC_CRT=${BUILD_WITH_STATIC_CRT}
|
-DOpenCV_DISABLE_ARCH_PATH=ON
|
||||||
-DBUILD_ZLIB=OFF
|
-DPROTOBUF_UPDATE_FILES=ON
|
||||||
-DBUILD_TIFF=OFF
|
-DUPDATE_PROTO_FILES=ON
|
||||||
-DBUILD_JPEG=OFF
|
# BUILD
|
||||||
-DBUILD_PNG=OFF
|
|
||||||
-DCMAKE_DISABLE_FIND_PACKAGE_JNI=ON
|
|
||||||
-DBUILD_DOCS=OFF
|
-DBUILD_DOCS=OFF
|
||||||
-DBUILD_EXAMPLES=OFF
|
-DBUILD_EXAMPLES=OFF
|
||||||
-DENABLE_PYLINT=OFF
|
-DBUILD_JPEG=OFF
|
||||||
-DBUILD_PACKAGE=OFF
|
-DBUILD_PACKAGE=OFF
|
||||||
-DBUILD_PERF_TESTS=OFF
|
-DBUILD_PERF_TESTS=OFF
|
||||||
-DBUILD_TESTS=OFF
|
-DBUILD_PNG=OFF
|
||||||
-DBUILD_WITH_DEBUG_INFO=ON
|
|
||||||
-DOpenCV_DISABLE_ARCH_PATH=ON
|
|
||||||
-DINSTALL_FORCE_UNIX_PATHS=ON
|
|
||||||
-DOPENCV_CONFIG_INSTALL_PATH=share/opencv
|
|
||||||
-DOPENCV_OTHER_INSTALL_PATH=share/opencv
|
|
||||||
-DINSTALL_LICENSE=OFF
|
|
||||||
-DWITH_CUBLAS=OFF
|
|
||||||
-DWITH_OPENCLAMDBLAS=OFF
|
|
||||||
-DWITH_LAPACK=OFF
|
|
||||||
-DOPENCV_EXTRA_MODULES_PATH=${CONTRIB_SOURCE_PATH}/modules
|
|
||||||
-DBUILD_PROTOBUF=OFF
|
-DBUILD_PROTOBUF=OFF
|
||||||
-DUPDATE_PROTO_FILES=ON
|
-DBUILD_TESTS=OFF
|
||||||
-DPROTOBUF_UPDATE_FILES=ON
|
-DBUILD_TIFF=OFF
|
||||||
|
-DBUILD_WITH_DEBUG_INFO=ON
|
||||||
|
-DBUILD_WITH_STATIC_CRT=${BUILD_WITH_STATIC_CRT}
|
||||||
|
-DBUILD_ZLIB=OFF
|
||||||
|
-DBUILD_opencv_apps=OFF
|
||||||
-DBUILD_opencv_dnn=ON
|
-DBUILD_opencv_dnn=ON
|
||||||
|
-DBUILD_opencv_flann=ON
|
||||||
-DBUILD_opencv_python2=OFF
|
-DBUILD_opencv_python2=OFF
|
||||||
-DBUILD_opencv_python3=OFF
|
-DBUILD_opencv_python3=OFF
|
||||||
-DBUILD_opencv_flann=ON
|
|
||||||
-DBUILD_opencv_apps=OFF
|
|
||||||
-DBUILD_opencv_sfm=${BUILD_opencv_sfm}
|
-DBUILD_opencv_sfm=${BUILD_opencv_sfm}
|
||||||
|
# CMAKE
|
||||||
-DWITH_FFMPEG=${WITH_FFMPEG}
|
-DCMAKE_DISABLE_FIND_PACKAGE_JNI=ON
|
||||||
|
# ENABLE
|
||||||
|
-DENABLE_PYLINT=OFF
|
||||||
|
# INSTALL
|
||||||
|
-DINSTALL_FORCE_UNIX_PATHS=ON
|
||||||
|
-DINSTALL_LICENSE=OFF
|
||||||
|
# OPENCV
|
||||||
|
-DOPENCV_CONFIG_INSTALL_PATH=share/opencv
|
||||||
|
"-DOPENCV_DOWNLOAD_PATH=${DOWNLOADS}/opencv-cache"
|
||||||
|
-DOPENCV_EXTRA_MODULES_PATH=${CONTRIB_SOURCE_PATH}/modules
|
||||||
|
-DOPENCV_OTHER_INSTALL_PATH=share/opencv
|
||||||
|
# WITH
|
||||||
|
-DWITH_CUBLAS=OFF
|
||||||
-DWITH_CUDA=${WITH_CUDA}
|
-DWITH_CUDA=${WITH_CUDA}
|
||||||
|
-DWITH_FFMPEG=${WITH_FFMPEG}
|
||||||
|
-DWITH_LAPACK=OFF
|
||||||
|
-DWITH_OPENCLAMDBLAS=OFF
|
||||||
|
-DWITH_OPENGL=ON
|
||||||
|
-DWITH_QT=${WITH_QT}
|
||||||
-DWITH_VTK=${WITH_VTK}
|
-DWITH_VTK=${WITH_VTK}
|
||||||
OPTIONS_DEBUG
|
OPTIONS_DEBUG
|
||||||
-DINSTALL_HEADERS=OFF
|
-DINSTALL_HEADERS=OFF
|
||||||
|
Loading…
Reference in New Issue
Block a user