Skip to content

[C++] Use FetchContent for RapidJSON #50005

Closed

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

  1. added a commit that references this issue on May 21, 2026
  2. added a commit that references this issue on May 25, 2026
  3. added this to the 25.0.0 milestone on May 25, 2026
  4. raulcd commented on May 25, 2026

    @raulcd
    Member

    Issue resolved by pull request 50006
    #50006

  5. added a commit that references this issue on May 26, 2026
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