mirror of
https://github.com/ceres-solver/ceres-solver.git
synced 2026-08-31 01:20:38 +08:00
ee7e2cb3c8
- Adding the Homebrew install prefix to CMAKE_PREFIX_PATH, irrespective of whether it is a standard location (e.g. /usr/local) overrides any user-specified HINTS locations according to the search order of CMake's find_xxx() functions. - Now we append the relevant include/lib directory to its respective HINTS directory variable (to the back to avoid overriding any user specified values). This achieves the same effect, but only after searching any user specified values. - Also adds Homebrew install prefix to find_package() calls for dependencies optionally exported with CMake after the possible user specified <DEPENDENCY_NAME>_DIR prefix. - Raised as issue #431 Change-Id: I47030f0f4fd9b96665fac57279be2285d9700b9a