mirror of
https://github.com/ceres-solver/ceres-solver.git
synced 2026-08-30 00:50:37 +08:00
d839b77928
Current language standard selection mechanism is quite convoluted and the logic for propagating a specific C++ language standard (which cannot be fully enforced anyway) is unnecessarily complicated. Instead communicate the minimum required C++ standard and let CMake handle the requirement. This allows the compiler and consumers to use newer language revisions if available. The language standard used to compile Ceres solver can still be set via `CMAKE_CXX_STANDARD`. Move to CMake 3.10 which is supported by Ubuntu 18.04 LTS and simplify the corresponding language features request. Change-Id: Id3526c69990315289e7ea0fbcdeaa6af79d24d03