Skip to content

[C++] Use FetchContent for RapidJSON #50005

@kou

Description

@kou

Describe the enhancement requested

If we use ExternalProject and CMAKE_FIND_USE_PACKAGE_REGISTRY https://cmake.org/cmake/help/latest/variable/CMAKE_FIND_USE_PACKAGE_REGISTRY.html and running cmake twice like #48801 (comment), RapidJSONConfig.cmake in ${BUILD_DIR}/rapidjson_ep/src/rapidjson_ep-install/lib/cmake/RapidjSON/. It's not intentional.

If we use FetchContent instead of ExternalProject, it doesn't happen.

Component(s)

C++

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions