mirror of
https://github.com/ceres-solver/ceres-solver.git
synced 2026-08-29 08:34:37 +08:00
d38e49a6cc
- The latest version of glog supports building with CMake, in which case it exports itself via CMake as a target that contains important meta information such as Windows-specific compilation definitions. - This patch updates FindGlog.cmake such that it can optionally use an exported glog target if one exists, if not it will fall back to the current approach whereby the glog components are found manually. This behaviour (and the implementation) is very similar to that of FindGflags.cmake. Change-Id: Idfb5f49c1b457707029bff52068f58237c0e285d