From 30a0a43d08a8a6686d90d02bee6ffe9a4a13aa47 Mon Sep 17 00:00:00 2001 From: CocoSimone Date: Mon, 12 Dec 2022 02:46:14 +0100 Subject: [PATCH] avoid building rapidjson (from discord-rpc) docs, examples and tests --- src/CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 2b702508..9c33c147 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -13,6 +13,10 @@ find_package(fmt REQUIRED) find_package(SDL2 REQUIRED) find_package(nlohmann_json REQUIRED) +option(RAPIDJSON_BUILD_DOC "Build rapidjson documentation." OFF) +option(RAPIDJSON_BUILD_EXAMPLES "Build rapidjson examples." OFF) +option(RAPIDJSON_BUILD_TESTS "Build rapidjson perftests and unittests." OFF) + add_subdirectory(../external/capstone capstone) add_subdirectory(../external/parallel-rdp prdp) add_subdirectory(../external/imgui imgui)