mirror of
https://github.com/ceres-solver/ceres-solver.git
synced 2026-08-31 01:20:38 +08:00
b59ac43b9d1122da3d00882efa7c5d6833c06ea7
1. -lpthreads was previously added to the CMAKE_CXX_FLAGS which are not passed to the linker thus linking would fail. 2. Clang would emit a warning about -lpthreads being added to a build instruction with -c (compile only). This patch fixes both of these issues by adding -lpthreads to the linker flags (and removes them from the CXX flags). Change-Id: I5e54de3ab7eced177aa31f311926893598af5b56
Ceres Solver - A non-linear least squares minimizer ================================================== Please see docs/html/index.html for a tutorial and reference.
Description
Languages
C++
94.4%
CMake
3.8%
Python
0.8%
C
0.5%
Starlark
0.4%