Exclude TKDEGLTF and TKXSDRAWGLTF toolkits when RapidJSON is disabled
elseif (NOT CAN_USE_RAPIDJSON)
OCCT_CHECK_AND_UNSET ("USE_RAPIDJSON")
OCCT_UNSET_VCPKG_FEATURE ("rapidjson")
+else()
+ list (REMOVE_ITEM BUILD_TOOLKITS TKDEGLTF)
+ list (REMOVE_ITEM BUILD_TOOLKITS TKXSDRAWGLTF)
+ message(STATUS "Info: TKDEGLTF and TKXSDRAWGLTF toolkits excluded due to RapidJSON usage is disabled")
endif()
+
if (NOT CAN_USE_RAPIDJSON OR BUILD_USE_VCPKG)
OCCT_CHECK_AND_UNSET_GROUP ("3RDPARTY_RAPIDJSON")
OCCT_CHECK_AND_UNSET ("INSTALL_RAPIDJSON")