vcpkg/ports/theia/vcpkg.json
jreichel-nvidia 5db545950d
[openimageio] Separate feature flags for tools and viewer (#34556) (#34699)
* [openimageio] Separate feature flags for tools and viewer (#34556)

Add feature flag "viewer" which controls building the viewer "iv".
Drop feature flag "tools", build tools (excluding the viewer) unconditionally.

* Re-add "tools" flag.
Make "viewer" flag depend on "tools" flag.

* Ensure that Qt does not get picked up by accident if the "viewer" flag is not
selected.
Make hidden dependency of theia on OpenImageIO::iv explicit.

* Fix syntax error in USE_QT option.

* Use ENABLE_IV instead of USE_QT.
Remove explicit setting of -DUSE_QT=OFF.
2023-10-27 18:54:58 -07:00

39 lines
719 B
JSON

{
"name": "theia",
"version": "0.8",
"port-version": 9,
"description": "An open source library for multiview geometry and structure from motion",
"homepage": "https://github.com/sweeneychris/TheiaSfM",
"license": "BSD-3-Clause",
"supports": "!uwp & !arm & !(windows & x86)",
"dependencies": [
"cereal",
{
"name": "ceres",
"features": [
"suitesparse"
]
},
"flann",
{
"name": "freeglut",
"platform": "!osx"
},
"glew",
{
"name": "openimageio",
"features": [
"viewer"
]
},
{
"name": "vcpkg-cmake",
"host": true
},
{
"name": "vcpkg-cmake-config",
"host": true
}
]
}