vcpkg/ports/ceres/vcpkg.json
Billy O'Neal 122bdbcec6
[ceres] Don't force C++14 on downstream customers. (#22983)
Resolves https://github.com/microsoft/vcpkg/issues/22980

https://github.com/microsoft/vcpkg/pull/12785 Added a set of `CMAKE_CXX_STANDARD` in this CMake config which accidentally overwrites higher versions. Upstream already has a `target_compile_options` to do this the Right Way.

This change:
* Deletes the offending attempt to set CMAKE_CXX_STANDARD. Downstream users that don't listen to the INTERFACE_COMPILE_FEATURES need to be patched locally.
* Modernizes to use vcpkg_cmake_Xxx.
* Removes attempt to fix up paths that already appears handled by `vcpkg_cmake_config_fixup`.
* Adds quotes.
2022-02-08 22:43:23 -08:00

61 lines
1.2 KiB
JSON

{
"name": "ceres",
"version-semver": "2.0.0",
"port-version": 6,
"description": "non-linear optimization package",
"homepage": "https://github.com/ceres-solver/ceres-solver",
"dependencies": [
"eigen3",
"glog",
{
"name": "vcpkg-cmake",
"host": true
},
{
"name": "vcpkg-cmake-config",
"host": true
}
],
"features": {
"cxsparse": {
"description": "CXSparse support for Ceres",
"dependencies": [
{
"name": "suitesparse",
"default-features": false
}
]
},
"eigensparse": {
"description": "Use of Eigen as a sparse linear algebra library in Ceres"
},
"lapack": {
"description": "Use Lapack in Ceres",
"dependencies": [
"lapack"
]
},
"suitesparse": {
"description": "SuiteSparse support for Ceres",
"dependencies": [
{
"name": "ceres",
"features": [
"lapack"
]
},
{
"name": "suitesparse",
"default-features": false
}
]
},
"tools": {
"description": "Ceres tools",
"dependencies": [
"gflags"
]
}
}
}