Alex Stewart b59ac43b9d Issue 83 fix: use correct pthread linker flags with clang.
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
2013-02-27 09:13:41 +00:00
2012-08-02 18:35:16 -07:00
2013-02-17 23:20:41 -08:00
2013-02-26 00:30:35 -05:00
2013-02-24 19:04:21 +00:00
2012-04-30 23:09:08 -07:00
2013-02-15 14:29:51 -08:00

Ceres Solver - A non-linear least squares minimizer
==================================================
Please see docs/html/index.html for a tutorial and reference.
S
Description
No description provided
Readme Multiple Licenses 42 MiB
Languages
C++ 94.4%
CMake 3.8%
Python 0.8%
C 0.5%
Starlark 0.4%