With the Ubuntu libceres-dev package (built with SuiteSparse support) and with AMICI>=0.26.2 we have the problem, that both amici and ceres are using CMake's find_package to find SuiteSparse, but both require different versions which doesn't work at the moment. (That's why CI builds have ceres disabled in #388) . Ceres builds without SuiteSparse support work fine.
We probably need to temporarily adjust CMAKE_PREFIX_PATH and clear SuiteSparse_FOUND or KLU_FOUND (or SuiteSparse_DIR, ...) after the first find_package/find_dependency call.
With the Ubuntu libceres-dev package (built with SuiteSparse support) and with AMICI>=0.26.2 we have the problem, that both amici and ceres are using CMake's
find_package
to find SuiteSparse, but both require different versions which doesn't work at the moment. (That's why CI builds have ceres disabled in #388) . Ceres builds without SuiteSparse support work fine. We probably need to temporarily adjustCMAKE_PREFIX_PATH
and clear SuiteSparse_FOUND or KLU_FOUND (or SuiteSparse_DIR, ...) after the first find_package/find_dependency call.