mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-09 16:01:54 -09:00
domoticz does not use Boost::atomic but cmake is so "smart" that it (wrongly) assumes that Boost::thread depends on Boost:date_time and Boost::atomic since boost version 1.54: set(_Boost_THREAD_DEPENDENCIES chrono date_time atomic) Extracted from: - https://gitlab.kitware.com/cmake/cmake/-/blob/master/Modules/FindBoost.cmake#L1113 As we can't patch every cmake on the field, just select boost atomic It should be noted that build failures are only raised since commit8a46b41b4aas this commit drop the patch that was decreasing cmake version but also removing: target_link_libraries(domoticz Boost::thread Boost::system) Fixes: - http://autobuild.buildroot.org/results/4306c0a725ed9a34bd55550df428866db6e4f052 - http://autobuild.buildroot.org/results/2478e7a2ec1c63dcc2b36d29a39004468b230211 Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr> (cherry picked from commit52ad97d00d) Signed-off-by: Peter Korsgaard <peter@korsgaard.com>