rapidjson
rapidjson copied to clipboard
CMake: Canonicalize rapidjson include path in RapidJSONConfig.cmake.
Having the path without relative components allows other projects to add the RadidJSON_INCLUDE_DIRS as a system include directory, without causing problems in the build.
See discussion in:
https://github.com/MaskRay/ccls/pull/383
(specifically the last comment)
Coverage increased (+0.001%) to 99.922% when pulling c9b57bd5f7cfd0e3ad1e256dbab4a4dd28e8ad33 on bastianbeischer:cmake into 01950eb7acec78818d68b762efc869bba2420d82 on Tencent:master.
Coverage increased (+0.001%) to 99.922% when pulling c9b57bd5f7cfd0e3ad1e256dbab4a4dd28e8ad33 on bastianbeischer:cmake into 01950eb7acec78818d68b762efc869bba2420d82 on Tencent:master.
I fixed issues with the install locations in PR #1454, see commits deecf8c17a9f8df15f59fe58e1b57184b2029a8b and 425c1e755f6ab4ea4f9c27a295a6339270ac1162.
Would that fix the problem? I think using configure_package_config_file is better.