diff options
author | Martin Jansa <martin.jansa@gmail.com> | 2019-09-10 17:22:27 +0000 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2019-09-10 11:08:47 -0700 |
commit | 0749b8fccc97f2ccd3516b9e06016b6deea130e0 (patch) | |
tree | d508b348860bacee0cb48507a13cf997d3efa793 | |
parent | e8a36601e074a72c73752cdd34a939a4fc55b01f (diff) | |
download | meta-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.bb | 7 |
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) |
22 | SSTATE_SCAN_FILES += "*.cmake" | 22 | SSTATE_SCAN_FILES += "*.cmake" |
23 | 23 | ||
24 | PACKAGECONFIG ??= "" | ||
25 | |||
26 | # suitesparse* recipes will be in meta-ros layer | ||
27 | PACKAGECONFIG[suitesparse] = "-DSUITESPARSE=ON,-DSUITESPARSE=OFF,suitesparse-config suitesparse-amd suitesparse-camd suitesparse-colamd suitesparse-ccolamd suitesparse-cholmod suitesparse-metis suitesparse-spqr" | ||
28 | PACKAGECONFIG[cxsparse] = "-DCXSPARSE=ON,-DCXSPARSE=OFF,suitesparse-cxsparse" | ||
29 | PACKAGECONFIG[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 |
25 | RDEPENDS_${PN}-dev = "" | 32 | RDEPENDS_${PN}-dev = "" |
26 | RRECOMMENDS_${PN}-dev = "${PN}-staticdev" | 33 | RRECOMMENDS_${PN}-dev = "${PN}-staticdev" |