Skip to content

Commit

Permalink
ceres-solver: update to v2.2.0-p1 (#720)
Browse files Browse the repository at this point in the history
Fix that SuiteSparse built with Hunter is always built with Partition
support.
  • Loading branch information
NeroBurner authored Oct 30, 2023
1 parent 70fd631 commit 85caa79
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
2 changes: 1 addition & 1 deletion cmake/configs/default.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ if(CMAKE_CXX_COMPILER_ID STREQUAL "GNU" AND CMAKE_CXX_COMPILER_VERSION VERSION_L
# - C++17 requirement: https://github.com/ceres-solver/ceres-solver/commit/1274743609bc59621adc9e311cdeeaad7eb65201
hunter_default_version(ceres-solver VERSION 2.1.0-p1)
else()
hunter_default_version(ceres-solver VERSION 2.2.0-p0)
hunter_default_version(ceres-solver VERSION 2.2.0-p1)
endif()
hunter_default_version(cgltf VERSION 1.10-f9a8804-p0)
hunter_default_version(check_ci_tag VERSION 1.0.0)
Expand Down
11 changes: 11 additions & 0 deletions cmake/projects/ceres-solver/hunter.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,17 @@ hunter_add_version(
34500d5f4f536d5ea12740d04c6f0a086a735ccb
)

hunter_add_version(
PACKAGE_NAME
ceres-solver
VERSION
"2.2.0-p1"
URL
"https://github.com/cpp-pm/ceres-solver/archive/refs/tags/v2.2.0-p1.tar.gz"
SHA1
e7640e7d3a12bb4b3b36a0a6206ad65108c65326
)

hunter_cmake_args(ceres-solver CMAKE_ARGS
# explicitly remove dependency on gflags (only needed for tests)
GFLAGS=OFF
Expand Down

0 comments on commit 85caa79

Please sign in to comment.