summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohan Oudinet <johan.oudinet@gmail.com>2017-12-06 15:47:53 +0100
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2017-12-06 23:46:44 +0100
commitf6ee339e92360fc43ebe17928656c06634b09c97 (patch)
tree4857602835b4affa7a85f7de0f13c3420f2f6d55
parent572c3f59a9e42c79934484d964b72a1905106d83 (diff)
downloadbuildroot-f6ee339e92360fc43ebe17928656c06634b09c97.tar.gz
buildroot-f6ee339e92360fc43ebe17928656c06634b09c97.zip
flann: Disable find package for HDF5
The HDF5 package is used by flann for testing purpose only and is not part of buildroot packages. However, if present in the host, it will be used and trigger the unsafe header/library path used in cross-compilation error. Signed-off-by: Johan Oudinet <johan.oudinet@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
-rw-r--r--package/flann/flann.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/package/flann/flann.mk b/package/flann/flann.mk
index e777fd8b2e..ef61815bba 100644
--- a/package/flann/flann.mk
+++ b/package/flann/flann.mk
@@ -15,6 +15,7 @@ FLANN_CONF_OPTS = \
-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
+ -DPYTHON_EXECUTABLE=OFF \
+ -DCMAKE_DISABLE_FIND_PACKAGE_HDF5=TRUE
$(eval $(cmake-package))
OpenPOWER on IntegriCloud