package/zxing-cpp: needs threads
threads are mandatory since switch to an active fork in commit456a739831
: CMake Error at /home/buildroot/autobuild/run/instance-1/output-1/host/share/cmake-3.28/Modules/FindPackageHandleStandardArgs.cmake:230 (message): Could NOT find Threads (missing: Threads_FOUND) Fixes:456a739831
- http://autobuild.buildroot.org/results/b600582d9c5407c7324af70d61fa5c1f96d929f6 Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
parent
0daf2fc73d
commit
4c40af9838
@ -746,11 +746,12 @@ config BR2_PACKAGE_GST1_PLUGINS_BAD_ZXING
|
||||
depends on !BR2_STATIC_LIBS # zxing-cpp
|
||||
depends on BR2_USE_WCHAR # zxing-cpp
|
||||
depends on BR2_INSTALL_LIBSTDCPP # zxing-cpp
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS # zxing-cpp
|
||||
select BR2_PACKAGE_ZXING_CPP
|
||||
|
||||
comment "zxing plugin needs a toolchain w/ C++, wchar, dynamic library"
|
||||
comment "zxing plugin needs a toolchain w/ C++, wchar, dynamic library, threads"
|
||||
depends on BR2_STATIC_LIBS || !BR2_USE_WCHAR || \
|
||||
!BR2_INSTALL_LIBSTDCPP
|
||||
!BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS
|
||||
|
||||
endif
|
||||
|
||||
|
@ -1,12 +1,13 @@
|
||||
comment "zxing-cpp needs a toolchain w/ C++, wchar, dynamic library"
|
||||
comment "zxing-cpp needs a toolchain w/ C++, wchar, dynamic library, threads"
|
||||
depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR || \
|
||||
BR2_STATIC_LIBS
|
||||
BR2_STATIC_LIBS || !BR2_TOOLCHAIN_HAS_THREADS
|
||||
|
||||
config BR2_PACKAGE_ZXING_CPP
|
||||
bool "zxing-cpp"
|
||||
depends on !BR2_STATIC_LIBS
|
||||
depends on BR2_USE_WCHAR
|
||||
depends on BR2_INSTALL_LIBSTDCPP
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS
|
||||
select BR2_PACKAGE_STB
|
||||
select BR2_PACKAGE_PYTHON_PYBIND if BR2_PACKAGE_PYTHON3
|
||||
help
|
||||
|
Loading…
Reference in New Issue
Block a user