### 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 https://github.com/apache/arrow/issues/48801#issuecomment-4498889561, `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
apacheGH-50005: [C++] Use FetchContent for RapidJSON
GH-50005: [C++] Use FetchContent for RapidJSON (#50006)
raulcd commentedon May 25, 2026
Issue resolved by pull request 50006
#50006
apacheGH-50005: [C++] Use FetchContent for RapidJSON (apache#50006)