Skip to contentSkip to conversation

rapidjson: explicitly disable unit tests

PATCH New Andre McCurdy 1 participant 1 message Jan 14, 2017

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 rapidjson: explicitly disable unit tests

Normally the unit tests don't get compiled as gtest sources are not available. However it's possible that gtest sources may be found on the host, so make it explicit that unit tests should not be enabled.

---
 meta-oe/recipes-devtools/rapidjson/rapidjson_1.0.2.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-oe/recipes-devtools/rapidjson/rapidjson_1.0.2.bb +1 -1
index 1a9abc8..dd6b896 100644
@@ -15,7 +15,7 @@ S = "${WORKDIR}/git"
 
 inherit cmake
 
-EXTRA_OECMAKE += "-DRAPIDJSON_BUILD_DOC=OFF"
+EXTRA_OECMAKE += "-DRAPIDJSON_BUILD_DOC=OFF -DRAPIDJSON_BUILD_TESTS=OFF"
 
 # RapidJSON is a header-only C++ library, so the main package will be empty.
 
Signature · 1 line
1.9.1