mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-04 14:39:54 +00:00
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>
This commit is contained in:
@@ -13,7 +13,6 @@ LIC_FILES_CHKSUM = "\
|
||||
file://LICENSE-MIT;md5=4b242fd9ef20207e18286d73da8a6677 \
|
||||
"
|
||||
|
||||
DEPENDS = "boost"
|
||||
SRCREV = "42ebcec9dc2c99a1b3a4542787572045763ad196"
|
||||
PV = "0.6.3+git"
|
||||
|
||||
@@ -24,3 +23,6 @@ SRC_URI = "\
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
inherit cmake
|
||||
|
||||
PACKAGECONFIG ??= ""
|
||||
PACKAGECONFIG[boost] = "-DUSE_BOOST_REGEX=ON,-DUSE_BOOST_REGEX=OFF,boost"
|
||||
|
||||
Reference in New Issue
Block a user