2014-04-30 21:34:56 +02:00
|
|
|
################################################################################
|
2014-04-15 22:50:05 +02:00
|
|
|
#
|
|
|
|
# flann
|
|
|
|
#
|
2014-04-30 21:34:56 +02:00
|
|
|
################################################################################
|
2014-04-15 22:50:05 +02:00
|
|
|
|
2017-05-28 15:42:30 +02:00
|
|
|
FLANN_VERSION = 1.9.1
|
2014-04-15 22:50:05 +02:00
|
|
|
FLANN_SITE = $(call github,mariusmuja,flann,$(FLANN_VERSION))
|
|
|
|
FLANN_INSTALL_STAGING = YES
|
2017-03-30 15:43:38 +02:00
|
|
|
FLANN_LICENSE = BSD-3-Clause
|
2014-04-15 22:50:05 +02:00
|
|
|
FLANN_LICENSE_FILES = COPYING
|
2014-09-27 21:32:44 +02:00
|
|
|
FLANN_CONF_OPTS = \
|
2014-04-15 22:50:05 +02:00
|
|
|
-DBUILD_C_BINDINGS=ON \
|
|
|
|
-DBUILD_PYTHON_BINDINGS=OFF \
|
|
|
|
-DBUILD_MATLAB_BINDINGS=OFF \
|
|
|
|
-DBUILD_EXAMPLES=$(if $(BR2_PACKAGE_FLANN_EXAMPLES),ON,OFF) \
|
|
|
|
-DUSE_OPENMP=$(if $(BR2_GCC_ENABLE_OPENMP),ON,OFF) \
|
|
|
|
-DPYTHON_EXECUTABLE=OFF
|
|
|
|
|
|
|
|
$(eval $(cmake-package))
|