commit | 5b043a9400a7193d1d5edfd4869ac9e093481e0a | [log] [tgz] |
---|---|---|
author | Alex Stewart <alexs.mac@gmail.com> | Sat Apr 04 18:20:23 2015 +0100 |
committer | Alex Stewart <alexs.mac@gmail.com> | Sat Apr 04 18:20:23 2015 +0100 |
tree | 1190ef8230b43180ed53341b652e1b080a20d4a3 | |
parent | 11d3b9e715d0a692d628e89ea8dd7a40840f1622 [diff] |
Ensure local config.h is used if Ceres is already installed. - Previously, if Ceres was already installed to the same location as one of the depenedencies (e.g. /usr/local) then as the BUILD_DIR/config path was necessarily added to the include_directories() list *after* the INCLUDE_DIRS for the dependencies, the config.h for the *installed* version of Ceres would be used instead of the locally configured version, as it would appear first on the path. - Forcing the location of the locally configured config.h to the front of the include_directories() list ensures that it is found first (and is thus used) even if an installed version of Ceres also exists on the path. Change-Id: I7b4f97a3ad0120bd11551f9b8eb6bffc66966eb4
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