Baike.dev
All toolsAI codingTrendingOpen sourceNewsSubmit
Log in
Back to tool/Back to issues
#2376·rapidjson

The second find_package will cause error

Author: wsw364321644Created Apr 21, 2026Updated Sep 17, 2026

https://github.com/Tencent/rapidjson/blob/24b5e7a8b27f42fa16b96fc70aade9106cf7102f/RapidJSONConfig.cmake.in#L10-L12

cmake 用<PackageName>_DIR 存储configuration file的目录。 RapidJSON_DIR被覆盖后会报错。

Source: Tencent/rapidjson

View original on GitHubView discussion on GitHub