mirror of
https://github.com/ceres-solver/ceres-solver.git
synced 2026-08-29 08:34:37 +08:00
9697a08a2b
- Previously we relied on FindPackage() to define Ceres_FOUND when find_package(Ceres) was called. - This is fine, but users might legitimately expect the variable to be CERES_FOUND given the form of CERES_INCLUDE_DIRS/LIBRARIES. - As there is an inconsistency in the CMake recommended names when FindPackage() is called in Module vs Config form, we now explicltly define both. Change-Id: I54bce9aa112b684d26b60a9ae4d11eb7925a6ee5