52ad97d00d
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 commit
8a46b41b4a
as 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>
46 lines
1.6 KiB
Plaintext
46 lines
1.6 KiB
Plaintext
config BR2_PACKAGE_DOMOTICZ
|
|
bool "domoticz"
|
|
depends on BR2_USE_MMU # fork()
|
|
depends on !BR2_STATIC_LIBS
|
|
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 # sleep_for
|
|
# pthread_condattr_setclock
|
|
depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL # mosquitto
|
|
depends on BR2_INSTALL_LIBSTDCPP
|
|
depends on BR2_USE_WCHAR
|
|
depends on BR2_PACKAGE_LUA_5_3
|
|
depends on BR2_TOOLCHAIN_SUPPORTS_ALWAYS_LOCKFREE_ATOMIC_INTS # boost-thread
|
|
depends on !BR2_TOOLCHAIN_HAS_GCC_BUG_64735 # exception_ptr
|
|
select BR2_PACKAGE_BOOST
|
|
select BR2_PACKAGE_BOOST_ATOMIC
|
|
select BR2_PACKAGE_BOOST_DATE_TIME
|
|
select BR2_PACKAGE_BOOST_SYSTEM
|
|
select BR2_PACKAGE_BOOST_THREAD
|
|
select BR2_PACKAGE_CEREAL
|
|
select BR2_PACKAGE_FMT
|
|
select BR2_PACKAGE_JSONCPP
|
|
select BR2_PACKAGE_LIBCURL
|
|
select BR2_PACKAGE_MOSQUITTO
|
|
select BR2_PACKAGE_OPENSSL
|
|
select BR2_PACKAGE_SQLITE
|
|
select BR2_PACKAGE_ZLIB
|
|
help
|
|
Domoticz is a Home Automation System that lets you monitor
|
|
and configure various devices like: Lights, Switches,
|
|
various sensors/meters like Temperature, Rain, Wind, UV,
|
|
Electra, Gas, Water and much more. Notifications/Alerts can
|
|
be sent to any mobile device.
|
|
|
|
http://domoticz.com
|
|
|
|
comment "domoticz needs lua 5.3 and a toolchain w/ C++, gcc >= 4.8, NPTL, wchar, dynamic library"
|
|
depends on BR2_USE_MMU
|
|
depends on BR2_TOOLCHAIN_SUPPORTS_ALWAYS_LOCKFREE_ATOMIC_INTS
|
|
depends on !BR2_INSTALL_LIBSTDCPP || \
|
|
!BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 || \
|
|
!BR2_TOOLCHAIN_HAS_THREADS_NPTL || \
|
|
!BR2_USE_WCHAR || BR2_STATIC_LIBS || \
|
|
!BR2_PACKAGE_LUA_5_3
|
|
|
|
comment "domoticz needs exception_ptr"
|
|
depends on BR2_TOOLCHAIN_HAS_GCC_BUG_64735
|