Explicitly use (new) default OS X rpath policy if present.

- CMake 3.0+ prefers the use of @rpath, and CMake 3.2+ produces a
  developer warning if this policy is not set, thus if present we
  explicitly specify the new default behaviour.
- http://www.cmake.org/cmake/help/v3.2/policy/CMP0042.html
- Also remove unnecessary check for presence of cmake_policy(), as it
  exists in all versions of CMake >= 2.8 (our minimum required version).

Change-Id: Iacbf8186bee4bf07d8a53068fd528cd6237c5efb
1 file changed
tree: f338362af7d9b8cf549f839ba504031b5d36960c
  1. cmake/
  2. config/
  3. data/
  4. docs/
  5. examples/
  6. include/
  7. internal/
  8. jni/
  9. scripts/
  10. .gitignore
  11. CMakeLists.txt
  12. LICENSE
  13. README.md
README.md

Ceres Solver - A non-linear least squares minimizer

Please see ceres-solver.org for more information.

WARNING - Do not make GitHub pull requests!

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