We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2737eed commit feeb5a1Copy full SHA for feeb5a1
1 file changed
AssetLoader/CMakeLists.txt
@@ -73,9 +73,9 @@ if(DILIGENT_USE_RAPIDJSON)
73
GIT_REPOSITORY https://github.com/Tencent/rapidjson
74
GIT_TAG ab1842a2dae061284c0a62dca1cc6d5e7e37e346
75
)
76
- set(RAPIDJSON_BUILD_DOC OFF)
77
- set(RAPIDJSON_BUILD_EXAMPLES OFF)
78
- set(RAPIDJSON_BUILD_TESTS OFF)
+ set(RAPIDJSON_BUILD_DOC OFF CACHE BOOL "Do not build documentation")
+ set(RAPIDJSON_BUILD_EXAMPLES OFF CACHE BOOL "Do not build examples")
+ set(RAPIDJSON_BUILD_TESTS OFF CACHE BOOL "Do not build tests")
79
FetchContent_MakeAvailable(rapidjson)
80
target_include_directories(Diligent-AssetLoader PRIVATE ${rapidjson_SOURCE_DIR}/include/rapidjson)
81
target_compile_definitions(Diligent-AssetLoader PRIVATE TINYGLTF_USE_RAPIDJSON TINYGLTF_USE_RAPIDJSON_CRTALLOCATOR)
0 commit comments