kumquat-buildroot/package/flann/Config.in
Thomas Petazzoni 190b4e12b7 flann: disallow static library build
Even though flann build system uses CMake, it always tries to build a
shared library, even if BUILD_SHARED_LIBS=OFF is passed. It could
probably be fixed in flann's CMakeLists.txt, but that's not really
worth the effort if upstream doesn't support it.

Therefore, we simply disallow the flann package in purely static
builds.

Fixes:

  http://autobuild.buildroot.org/results/a4e/a4ec0e9f28cd12ce770718fb407bbb4dc93b528b/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2014-05-13 23:44:36 +02:00

26 lines
736 B
Plaintext

config BR2_PACKAGE_FLANN
bool "flann"
depends on BR2_INSTALL_LIBSTDCPP
depends on !BR2_PREFER_STATIC_LIB
help
FLANN is a library for performing fast approximate nearest
neighbor searches in high dimensional spaces. It contains a
collection of algorithms we found to work best for nearest
neighbor search and a system for automatically choosing the
best algorithm and optimum parameters depending on the
dataset.
http://www.cs.ubc.ca/research/flann/
if BR2_PACKAGE_FLANN
config BR2_PACKAGE_FLANN_EXAMPLES
bool "flann examples"
help
Build and install flann example applications.
endif
comment "flann needs a toolchain w/ C++, dynamic library"
depends on !BR2_INSTALL_LIBSTDCPP || BR2_PREFER_STATIC_LIB