aboutsummaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-connectivity/zeromq/czmq_4.2.1.bb
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2021-06-19 14:45:37 -0700
committerKhem Raj <raj.khem@gmail.com>2021-06-19 17:27:46 -0700
commitfc7b26b5fb1653f0eb55e0ae9b90ab7f6ee32ac0 (patch)
treebc7a8aa80ca5ee738b784dac84d4a37390ef4ac8 /meta-oe/recipes-connectivity/zeromq/czmq_4.2.1.bb
parent7cc7d7b635754f6fc61c35354fcf2c22bfb04b6c (diff)
downloadmeta-openembedded-contrib-fc7b26b5fb1653f0eb55e0ae9b90ab7f6ee32ac0.tar.gz
meta-openembedded-contrib-fc7b26b5fb1653f0eb55e0ae9b90ab7f6ee32ac0.tar.bz2
meta-openembedded-contrib-fc7b26b5fb1653f0eb55e0ae9b90ab7f6ee32ac0.zip
czmq: Use Cmake knobs to enable/disable designed packageconfigs
CMAKE_DISABLE_FIND_PACKAGE_<pkg> disables detection and would achieve same but ON/OFF seems easier to understand Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-oe/recipes-connectivity/zeromq/czmq_4.2.1.bb')
-rw-r--r--meta-oe/recipes-connectivity/zeromq/czmq_4.2.1.bb8
1 files changed, 4 insertions, 4 deletions
diff --git a/meta-oe/recipes-connectivity/zeromq/czmq_4.2.1.bb b/meta-oe/recipes-connectivity/zeromq/czmq_4.2.1.bb
index f97a160c35..de1e76e93e 100644
--- a/meta-oe/recipes-connectivity/zeromq/czmq_4.2.1.bb
+++ b/meta-oe/recipes-connectivity/zeromq/czmq_4.2.1.bb
@@ -23,11 +23,11 @@ FILES_lib${BPN}-staticdev = "${libdir}/lib*.a"
RDEPENDS_lib${BPN}-dev = "zeromq-dev"
PACKAGECONFIG ??= "lz4 uuid curl ${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)}"
-PACKAGECONFIG[lz4] = ",-DCMAKE_DISABLE_FIND_PACKAGE_lz4=TRUE,lz4"
-PACKAGECONFIG[uuid] = ",-DCMAKE_DISABLE_FIND_PACKAGE_uuid=TRUE,util-linux"
-PACKAGECONFIG[curl] = ",-DCMAKE_DISABLE_FIND_PACKAGE_libcurl=TRUE,curl"
-PACKAGECONFIG[systemd] = ",-DCMAKE_DISABLE_FIND_PACKAGE_systemd=TRUE,systemd"
+PACKAGECONFIG[curl] = "-DCZMQ_WITH_LIBCURL=ON,-DCZMQ_WITH_LIBCURL=OFF,curl"
PACKAGECONFIG[httpd] = "-DCZMQ_WITH_LIBMICROHTTPD=ON,-DCZMQ_WITH_LIBMICROHTTPD=OFF,libmicrohttpd"
+PACKAGECONFIG[lz4] = "-DCZMQ_WITH_LZ4=ON,-DCZMQ_WITH_LZ4=OFF,lz4"
+PACKAGECONFIG[systemd] = "-DCZMQ_WITH_SYSTEMD=ON,-DCZMQ_WITH_SYSTEMD=OFF,systemd"
+PACKAGECONFIG[uuid] = "-DCZMQ_WITH_UUID=ON,-DCZMQ_WITH_UUID=OFF,util-linux"
BBCLASSEXTEND = "nativesdk"