mirror of
https://github.com/ceres-solver/ceres-solver.git
synced 2026-08-29 16:40:38 +08:00
799fd50192
- Add missing CMAKE_FIND_ROOT_PATH_MODE_PACKAGE = ONLY, mimicking what we previously set for INCLUDE/LIBRARY/PROGRAM s/t the standard package locations on the host system will not be searched by find_package() when cross-compiling for iOS. - Remove now unnecessary forced disabling of dependency options on iOS as they should now never be found (unless they were explicitly built for iOS) irrespective of whether the option defaults to ON initially. Change-Id: I1d2c5da4838d7becb8ebd43f90a88cfc6ded4a1f