[oe] [meta-oe][PATCH] rapidjson: explicitly disable unit tests

Andre McCurdy armccurdy at gmail.com
Sat Jan 14 02:50:44 UTC 2017


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.

Signed-off-by: Andre McCurdy <armccurdy at gmail.com>
---
 meta-oe/recipes-devtools/rapidjson/rapidjson_1.0.2.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta-oe/recipes-devtools/rapidjson/rapidjson_1.0.2.bb b/meta-oe/recipes-devtools/rapidjson/rapidjson_1.0.2.bb
index 1a9abc8..dd6b896 100644
--- a/meta-oe/recipes-devtools/rapidjson/rapidjson_1.0.2.bb
+++ b/meta-oe/recipes-devtools/rapidjson/rapidjson_1.0.2.bb
@@ -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.
 
-- 
1.9.1




More information about the Openembedded-devel mailing list