aaffd209fa
To be consistent with the recent change of FOO_MAKE_OPT into FOO_MAKE_OPTS, make the same change for FOO_CONF_OPT. Sed command used: find * -type f | xargs sed -i 's#_CONF_OPT\>#&S#g' Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
23 lines
690 B
Makefile
23 lines
690 B
Makefile
################################################################################
|
|
#
|
|
# flann
|
|
#
|
|
################################################################################
|
|
|
|
FLANN_VERSION = d0c04f4d290ebc3aa9411a3322992d298e51f5aa
|
|
FLANN_SITE = $(call github,mariusmuja,flann,$(FLANN_VERSION))
|
|
FLANN_INSTALL_STAGING = YES
|
|
FLANN_LICENSE = BSD-3c
|
|
FLANN_LICENSE_FILES = COPYING
|
|
FLANN_CONF_OPTS = \
|
|
-DBUILD_C_BINDINGS=ON \
|
|
-DBUILD_PYTHON_BINDINGS=OFF \
|
|
-DBUILD_MATLAB_BINDINGS=OFF \
|
|
-DBUILD_EXAMPLES=$(if $(BR2_PACKAGE_FLANN_EXAMPLES),ON,OFF) \
|
|
-DBUILD_TESTS=OFF \
|
|
-DBUILD_DOC=OFF \
|
|
-DUSE_OPENMP=$(if $(BR2_GCC_ENABLE_OPENMP),ON,OFF) \
|
|
-DPYTHON_EXECUTABLE=OFF
|
|
|
|
$(eval $(cmake-package))
|