summaryrefslogtreecommitdiffstats
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-0749b8fccc97f2ccd3516b9e06016b6deea130e0.tar.gz
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 140c801c7..ac463038a 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
21# 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) 21# 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)
22SSTATE_SCAN_FILES += "*.cmake" 22SSTATE_SCAN_FILES += "*.cmake"
23 23
24PACKAGECONFIG ??= ""
25
26# suitesparse* recipes will be in meta-ros layer
27PACKAGECONFIG[suitesparse] = "-DSUITESPARSE=ON,-DSUITESPARSE=OFF,suitesparse-config suitesparse-amd suitesparse-camd suitesparse-colamd suitesparse-ccolamd suitesparse-cholmod suitesparse-metis suitesparse-spqr"
28PACKAGECONFIG[cxsparse] = "-DCXSPARSE=ON,-DCXSPARSE=OFF,suitesparse-cxsparse"
29PACKAGECONFIG[lapack] = "-DLAPACK=ON,-DLAPACK=OFF,lapack"
30
24# Only a static library and headers are created 31# Only a static library and headers are created
25RDEPENDS_${PN}-dev = "" 32RDEPENDS_${PN}-dev = ""
26RRECOMMENDS_${PN}-dev = "${PN}-staticdev" 33RRECOMMENDS_${PN}-dev = "${PN}-staticdev"