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 <[email protected]>
---
 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

-- 
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel

Reply via email to