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) \
|
2017-12-06 15:47:53 +01:00
|
|
|
-DPYTHON_EXECUTABLE=OFF \
|
|
|
|
-DCMAKE_DISABLE_FIND_PACKAGE_HDF5=TRUE
|
2014-04-15 22:50:05 +02:00
|
|
|
|
|
|
|
$(eval $(cmake-package))
|