mirror of
https://github.com/ceres-solver/ceres-solver.git
synced 2026-08-29 16:40:38 +08:00
cc73c77d50
- Previously the LAPACK option meant would Ceres link against LAPACK, whether directly or indirectly via SuiteSparse (if SUITESPARSE=ON), as such if LAPACK=OFF, the use of SuiteSparse was disabled, even if it was found. - To support the use-case of using a limited LAPACK implementation that satisfies SuiteSparse’s requirements, but potentially not Ceres’ we now adopt the more conventional terminology whereby the LAPACK option refers only to whether Ceres itself will directly call LAPACK routines, not whether it or any of its dependencies will. - This means that the LAPACK and SUITESPARSE options are now independent. - Also unnecessary calls to find_package(BLAS), as find_package(LAPACK) already searches for BLAS, and appends the resulting libraries to LAPACK_LIBRARIES if they are found. Change-Id: I9cf5fa5e4cb621812f6f0526db8d16a7a39c9c8f