vcpkg/ports/openmvg/vcpkg.json
Martin Valgur 5c2f1f81e5
[vlfeat] fix incorrect header install path, expose OpenMP as a feature (#39379)
Fixes the headers being installed under `vlfeat/` instead of `vl/` by
the custom CMakeLists.txt.

The project docs use `#include <vl/...>`
(https://www.vlfeat.org/api/kmeans.html) and so does the Debian package
(https://packages.debian.org/sid/amd64/libvlfeat-dev/filelist), for
example.

I also included a patch from Debian to fix OpenMP support and exposed
OpenMP as an optional feature.

Related to #39354.
2024-06-19 23:15:27 -07:00

64 lines
1.2 KiB
JSON

{
"name": "openmvg",
"version": "2.0",
"port-version": 11,
"description": "open Multiple View Geometry library. Basis for 3D computer vision and Structure from Motion.",
"license": "MPL-2.0-no-copyleft-exception",
"supports": "(x86 | x64 | arm64) & !xbox",
"dependencies": [
"cereal",
{
"name": "ceres",
"features": [
"cxsparse",
"suitesparse"
]
},
"coin-or-clp",
"coin-or-osi",
"coinutils",
"eigen3",
"flann",
"libjpeg-turbo",
"liblemon",
"libpng",
{
"name": "tiff",
"default-features": false
},
{
"name": "vcpkg-cmake",
"host": true
},
{
"name": "vcpkg-cmake-config",
"host": true
},
"vlfeat",
"zlib"
],
"features": {
"opencv": {
"description": "opencv support for openmvg",
"dependencies": [
{
"name": "opencv",
"features": [
"contrib"
]
}
]
},
"openmp": {
"description": "openmp support for openmvg"
},
"software": {
"description": "build openMVG tools",
"dependencies": [
"qt5-base",
"qt5-svg"
]
}
}
}