You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Reproduced on current master with an installed package: the first find_package(RapidJSON CONFIG REQUIRED) overwrites RapidJSON_DIR with the producer build directory; the second lookup then tries to include a nonexistent RapidJSON-targets.cmake from that directory. I am preparing a narrow fix that preserves CMake discovery state, plus a repeated-discovery consumer regression. The broader open CMake PR #2340 also edits this variable, but still overwrites it. Prepared with Codex assistance.
Activity
Shubham-Padkonde commentedon Sep 17, 2026
Reproduced on current master with an installed package: the first find_package(RapidJSON CONFIG REQUIRED) overwrites RapidJSON_DIR with the producer build directory; the second lookup then tries to include a nonexistent RapidJSON-targets.cmake from that directory. I am preparing a narrow fix that preserves CMake discovery state, plus a repeated-discovery consumer regression. The broader open CMake PR #2340 also edits this variable, but still overwrites it. Prepared with Codex assistance.