commit | 58ee9f7d9b7d68192e79c711284dd4480ae65b4c | [log] [tgz] |
---|---|---|
author | Alex Stewart <alexs.mac@gmail.com> | Sat Mar 28 16:45:50 2015 +0000 |
committer | Keir Mierle <mierle@gmail.com> | Tue Mar 31 00:47:44 2015 +0000 |
tree | ccbe61b793027caf0eee940ecd6a8235c3e6431f | |
parent | 4a423f912949325f16a396dfc7a3693ee242b8e1 [diff] |
Handle possible presence of library prefixes in MSVC. - On MSVC, a Ceres dependency such as glog, may be named glog.lib, or libglog.lib. By default, CMake assumes no prefix for libraries on MSVC when using find_library(), thus find_library(glog) would fail if glog was named libglog.lib. - This patch caches & updates CMAKE_FIND_LIBRARY_PREFIXES in all of Ceres' find_package scripts to include lib & "" (no prefix) on MSVC and then returns CMAKE_FIND_LIBRARY_PREFIXES to its original state before returning. Change-Id: Ic82799e3b786cfb7228a51183bc189578b072bbe
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