mirror of
https://github.com/ceres-solver/ceres-solver.git
synced 2026-08-30 00:50:37 +08:00
dfce1e128d
1. The platform specific threads library is only needed if we actually use threads. In this case, the library is not optional opposed to previous logic. 2. Do not hide the find module output to allow the user to understand what happens in case of a CMake failure to locate Threads. 3. Finally, Threads is private dependency that does need to be propagated to consumers unless Ceres was compiled as a static library. Change-Id: I8d9d9cd42930e1ed234f69a2dba70d0ee2755b4e