Skip to content

Commit feeb5a1

Browse files
Fixed Rapid JSON CMake settings
1 parent 2737eed commit feeb5a1

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

AssetLoader/CMakeLists.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -73,9 +73,9 @@ if(DILIGENT_USE_RAPIDJSON)
7373
GIT_REPOSITORY https://github.com/Tencent/rapidjson
7474
GIT_TAG ab1842a2dae061284c0a62dca1cc6d5e7e37e346
7575
)
76-
set(RAPIDJSON_BUILD_DOC OFF)
77-
set(RAPIDJSON_BUILD_EXAMPLES OFF)
78-
set(RAPIDJSON_BUILD_TESTS OFF)
76+
set(RAPIDJSON_BUILD_DOC OFF CACHE BOOL "Do not build documentation")
77+
set(RAPIDJSON_BUILD_EXAMPLES OFF CACHE BOOL "Do not build examples")
78+
set(RAPIDJSON_BUILD_TESTS OFF CACHE BOOL "Do not build tests")
7979
FetchContent_MakeAvailable(rapidjson)
8080
target_include_directories(Diligent-AssetLoader PRIVATE ${rapidjson_SOURCE_DIR}/include/rapidjson)
8181
target_compile_definitions(Diligent-AssetLoader PRIVATE TINYGLTF_USE_RAPIDJSON TINYGLTF_USE_RAPIDJSON_CRTALLOCATOR)

0 commit comments

Comments
 (0)