1config BR2_PACKAGE_LIBOSMIUM
2	bool "libosmium"
3	depends on BR2_INSTALL_LIBSTDCPP
4	depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_7 # C++11
5	depends on BR2_TOOLCHAIN_HAS_THREADS # boost
6	depends on BR2_USE_WCHAR # boost
7	select BR2_PACKAGE_BOOST
8	select BR2_PACKAGE_PROTOZERO
9	select BR2_PACKAGE_LZ4
10	help
11	  A fast and flexible C++ library for working with OpenStreetMap
12	  data. Libosmium works on Linux, macOS and Windows.
13
14	  https://osmcode.org/libosmium/
15
16comment "libosmium needs a toolchain w/ C++, wchar, threads, gcc >= 4.7"
17	depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR || \
18		!BR2_TOOLCHAIN_GCC_AT_LEAST_4_7 || !BR2_TOOLCHAIN_HAS_THREADS
19