Skip to content

Commit 85caa79

Browse files
authored
ceres-solver: update to v2.2.0-p1 (#720)
Fix that SuiteSparse built with Hunter is always built with Partition support.
1 parent 70fd631 commit 85caa79

File tree

2 files changed

+12
-1
lines changed

2 files changed

+12
-1
lines changed

cmake/configs/default.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@ if(CMAKE_CXX_COMPILER_ID STREQUAL "GNU" AND CMAKE_CXX_COMPILER_VERSION VERSION_L
225225
# - C++17 requirement: https://github.com/ceres-solver/ceres-solver/commit/1274743609bc59621adc9e311cdeeaad7eb65201
226226
hunter_default_version(ceres-solver VERSION 2.1.0-p1)
227227
else()
228-
hunter_default_version(ceres-solver VERSION 2.2.0-p0)
228+
hunter_default_version(ceres-solver VERSION 2.2.0-p1)
229229
endif()
230230
hunter_default_version(cgltf VERSION 1.10-f9a8804-p0)
231231
hunter_default_version(check_ci_tag VERSION 1.0.0)

cmake/projects/ceres-solver/hunter.cmake

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,17 @@ hunter_add_version(
109109
34500d5f4f536d5ea12740d04c6f0a086a735ccb
110110
)
111111

112+
hunter_add_version(
113+
PACKAGE_NAME
114+
ceres-solver
115+
VERSION
116+
"2.2.0-p1"
117+
URL
118+
"https://github.com/cpp-pm/ceres-solver/archive/refs/tags/v2.2.0-p1.tar.gz"
119+
SHA1
120+
e7640e7d3a12bb4b3b36a0a6206ad65108c65326
121+
)
122+
112123
hunter_cmake_args(ceres-solver CMAKE_ARGS
113124
# explicitly remove dependency on gflags (only needed for tests)
114125
GFLAGS=OFF

0 commit comments

Comments
 (0)