mirror of
https://github.com/ceres-solver/ceres-solver.git
synced 2026-08-29 16:40:38 +08:00
d3612c12c0
A recent change introduced some uses of `IN_LIST` in FindSuiteSparse.cmake, but this is only introduced in cmake 3.3 and breaks downstream projects that set cmake_minimum_required() to anything lower. This commit locally sets CMP0057, which enables the `IN_LIST` operator and fixes the build for these projects. Primarily motivated by colmap, which sets cmake_minimum_required(3.0) and is currently broken: https://github.com/colmap/colmap/issues/1451 Change-Id: I9580c86f56248611326a932b8650b9048fb0ff14