aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Jansa <martin.jansa@gmail.com>2019-09-10 17:22:27 +0000
committerKhem Raj <raj.khem@gmail.com>2019-09-10 11:08:47 -0700
commit0749b8fccc97f2ccd3516b9e06016b6deea130e0 (patch)
treed508b348860bacee0cb48507a13cf997d3efa793
parente8a36601e074a72c73752cdd34a939a4fc55b01f (diff)
downloadmeta-openembedded-contrib-0749b8fccc97f2ccd3516b9e06016b6deea130e0.tar.gz
meta-openembedded-contrib-0749b8fccc97f2ccd3516b9e06016b6deea130e0.tar.bz2
meta-openembedded-contrib-0749b8fccc97f2ccd3516b9e06016b6deea130e0.zip
ceres-solver: add PACKAGECONFIG for suitesparse and lapack
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r--meta-oe/recipes-support/ceres-solver/ceres-solver_1.14.bb7
1 files changed, 7 insertions, 0 deletions
diff --git a/meta-oe/recipes-support/ceres-solver/ceres-solver_1.14.bb b/meta-oe/recipes-support/ceres-solver/ceres-solver_1.14.bb
index 140c801c7d..ac463038aa 100644
--- a/meta-oe/recipes-support/ceres-solver/ceres-solver_1.14.bb
+++ b/meta-oe/recipes-support/ceres-solver/ceres-solver_1.14.bb
@@ -21,6 +21,13 @@ inherit cmake
# ceres-solver/1.14-r0/packages-split/ceres-solver-dev/usr/lib/cmake/Ceres/CeresConfig.cmake: set(glog_DIR ceres-solver/1.14-r0/recipe-sysroot/usr/lib/cmake/glog)
SSTATE_SCAN_FILES += "*.cmake"
+PACKAGECONFIG ??= ""
+
+# suitesparse* recipes will be in meta-ros layer
+PACKAGECONFIG[suitesparse] = "-DSUITESPARSE=ON,-DSUITESPARSE=OFF,suitesparse-config suitesparse-amd suitesparse-camd suitesparse-colamd suitesparse-ccolamd suitesparse-cholmod suitesparse-metis suitesparse-spqr"
+PACKAGECONFIG[cxsparse] = "-DCXSPARSE=ON,-DCXSPARSE=OFF,suitesparse-cxsparse"
+PACKAGECONFIG[lapack] = "-DLAPACK=ON,-DLAPACK=OFF,lapack"
+
# Only a static library and headers are created
RDEPENDS_${PN}-dev = ""
RRECOMMENDS_${PN}-dev = "${PN}-staticdev"