Skip to contentSkip to conversation

cli11: Remove dev pkg dep to main pkg

PATCH New Brad Bishop 1 participant 1 message Aug 16, 2019

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 cli11: Remove dev pkg dep to main pkg

cli11 is header-only and the main package is empty. Remove the dependency to cli11 from cli11-dev so cli11-dev can be included in an SDK via IMAGE_INSTALL, RDEPENDS, and the like.

---
 meta-oe/recipes-support/cli11/cli11_1.8.0.bb | 3 +++
 1 file changed, 3 insertions(+)
meta-oe/recipes-support/cli11/cli11_1.8.0.bb +3 -0
index b6a4341595..404545d5e7 100644
@@ -17,3 +17,6 @@ inherit ptest
 
 EXTRA_OECMAKE += "-DCLANG_TIDY=OFF"
 DEPENDS += "boost"
+
+# cli11 is a header only C++ library, so the main package will be empty.
+RDEPENDS_${PN}-dev = ""
Signature · 1 line
2.21.0