Skip to contentSkip to conversation

cppzmq: use cmake to install the package

PATCH New Pascal Bach 1 participant 1 message Jul 19, 2018

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 cppzmq: use cmake to install the package

This way also the required cmake configs are installed so other packages can find it.

It seems also cleaner to use the upstream mechanism than to have our own install script.

---
 meta-oe/recipes-connectivity/zeromq/cppzmq_git.bb | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)
meta-oe/recipes-connectivity/zeromq/cppzmq_git.bb +1 -4
index 4920bce8c..9aff59c6c 100644
@@ -11,10 +11,7 @@ SRC_URI = "git://github.com/zeromq/cppzmq.git"
 
 S = "${WORKDIR}/git"
 
-do_install () {
-        install -d ${D}/usr/include
-        install -m 0755 ${S}/zmq.hpp ${D}/usr/include/
-}
+inherit cmake
 
 PACKAGES = "${PN}-dev"
 
Signature · 1 line
2.11.0