Skip to content

[C++] Use FetchContent for RapidJSON #50005

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++

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions