Skip to content

Commit 6206c1c

Browse files
committed
Disable building of doc, examples and tests in RapidJSON depend.
1 parent e9424e6 commit 6206c1c

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

InstallRapidJSON.cmake

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919

2020
# The following variables are set:
2121
#
22+
# RAPIDJSON_CXX_FLAGS - Custom RapidJSON compilation flags.
2223
# RAPIDJSON_INCLUDE_DIRS - A list of directories where the RapidJSON headers are located.
2324

2425
if(NOT RAPIDJSON_FOUND OR USE_BUNDLED_RAPIDJSON)
@@ -31,7 +32,11 @@ if(NOT RAPIDJSON_FOUND OR USE_BUNDLED_RAPIDJSON)
3132
DOWNLOAD_NAME RapidJSON-${RAPIDJSON_VERSION}.tar.gz
3233
URL https://github.com/miloyip/rapidjson/archive/v${RAPIDJSON_VERSION}.tar.gz
3334
URL_MD5 ${RAPIDJSON_URL_MD5}
34-
CMAKE_ARGS -DCMAKE_INSTALL_PREFIX=<INSTALL_DIR>
35+
CMAKE_ARGS
36+
-DCMAKE_INSTALL_PREFIX=<INSTALL_DIR>
37+
-RAPIDJSON_BUILD_DOC=Off
38+
-DRAPIDJSON_BUILD_EXAMPLES=Off
39+
-DRAPIDJSON_BUILD_TESTS=Off
3540
TEST_COMMAND ""
3641
)
3742

0 commit comments

Comments
 (0)