commit | 51dcd40ba592855654fbb5f907498fa271da5124 | [log] [tgz] |
---|---|---|
author | Alex Stewart <alexs.mac@gmail.com> | Sun Jun 17 20:32:51 2018 +0100 |
committer | Sameer Agarwal <sameeragarwal@google.com> | Sun Jun 17 22:44:15 2018 +0000 |
tree | 7d47323348a32fd059c4ac2837dd69e5bfd3e239 | |
parent | d7a95968ac1a809ae3d47d2ca18471ef91f29f98 [diff] |
Do not update CMAKE_REQUIRED_FLAGS to match CMAKE_CXX_FLAGS. - This was a hangover from the pre-Ceres 2.0 era when we needed to ensure that -std=c++11 was passed to check_cxx_source_compiles() in FindUnorderedMap/FindSharedPtr if the user had enabled CXX11. - Unfortunately, the same variable (CMAKE_REQUIRED_FLAGS) is used for both check_cxx_source_compiles() and check_c_source_compiles(), and thus updating it to include -std=c++11 would thus break any checks for C, which are made internally in the version of FindThreads.cmake shipped with CMake which could cause build breakage as identified in issue #355. Change-Id: I36be1a21db14e3839eaf955a80bd952ef40fa269
Ceres Solver is an open source C++ library for modeling and solving large, complicated optimization problems. It is a feature rich, mature and performant library which has been used in production at Google since 2010. Ceres Solver can solve two kinds of problems.
Please see ceres-solver.org for more information.
Ceres development happens on Gerrit, including both repository hosting and code reviews. The GitHub Repository is a continuously updated mirror which is primarily meant for issue tracking. Please see our Contributing to Ceres Guide for more details.
The upstream Gerrit repository is
https://ceres-solver.googlesource.com/ceres-solver