diff options
| author | Eero Aaltonen <eero.aaltonen@vaisala.com> | 2024-04-15 14:30:29 +0300 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2024-04-21 10:52:39 -0700 |
| commit | a91723c743ab61c710d5381cdce6de2c0499d531 (patch) | |
| tree | 6781028ee17b07b1793abed3050035841b22ee5d /meta-oe/recipes-extended/docopt.cpp | |
| parent | 04b6daf18b09ac5924d46ccd9385a8f4989f9e00 (diff) | |
| download | meta-openembedded-a91723c743ab61c710d5381cdce6de2c0499d531.tar.gz | |
docopt.cpp: turn boost to a PACKAGECONFIG option
docopt.cpp only uses boost regex with the option USE_BOOST_REGEX=ON.
When used, boost regex is statically linked.
Signed-off-by: Eero Aaltonen <eero.aaltonen@vaisala.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-oe/recipes-extended/docopt.cpp')
| -rw-r--r-- | meta-oe/recipes-extended/docopt.cpp/docopt.cpp_git.bb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/meta-oe/recipes-extended/docopt.cpp/docopt.cpp_git.bb b/meta-oe/recipes-extended/docopt.cpp/docopt.cpp_git.bb index 3d438871ed..87eed4b656 100644 --- a/meta-oe/recipes-extended/docopt.cpp/docopt.cpp_git.bb +++ b/meta-oe/recipes-extended/docopt.cpp/docopt.cpp_git.bb | |||
| @@ -13,7 +13,6 @@ LIC_FILES_CHKSUM = "\ | |||
| 13 | file://LICENSE-MIT;md5=4b242fd9ef20207e18286d73da8a6677 \ | 13 | file://LICENSE-MIT;md5=4b242fd9ef20207e18286d73da8a6677 \ |
| 14 | " | 14 | " |
| 15 | 15 | ||
| 16 | DEPENDS = "boost" | ||
| 17 | SRCREV = "42ebcec9dc2c99a1b3a4542787572045763ad196" | 16 | SRCREV = "42ebcec9dc2c99a1b3a4542787572045763ad196" |
| 18 | PV = "0.6.3+git" | 17 | PV = "0.6.3+git" |
| 19 | 18 | ||
| @@ -24,3 +23,6 @@ SRC_URI = "\ | |||
| 24 | S = "${WORKDIR}/git" | 23 | S = "${WORKDIR}/git" |
| 25 | 24 | ||
| 26 | inherit cmake | 25 | inherit cmake |
| 26 | |||
| 27 | PACKAGECONFIG ??= "" | ||
| 28 | PACKAGECONFIG[boost] = "-DUSE_BOOST_REGEX=ON,-DUSE_BOOST_REGEX=OFF,boost" | ||
