Fix failed if() condition expansion if gflags is not found.

- If a CMake-ified version of gflags is not detected, then
  gflags_LIBRARIES is not set and the TARGET condition within a
  multiconditional if() statement prevents configuration.

Change-Id: Ia92e97523d7a1478ab36539726b9540d7cfee5d0
1 file changed
tree: c5b82a1cef9754bb8cd3d0d3f08b4a78c2586088
  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