···11+diff --git a/cmake-proxies/cmake-modules/dependencies/rapidjson.cmake b/cmake-proxies/cmake-modules/dependencies/rapidjson.cmake
22+index ba95962..66a96a8 100644
33+--- a/cmake-proxies/cmake-modules/dependencies/rapidjson.cmake
44++++ b/cmake-proxies/cmake-modules/dependencies/rapidjson.cmake
55+@@ -2,8 +2,11 @@
66+77+ if(NOT ${_OPT}use_rapidjson STREQUAL "off")
88+ if(NOT TARGET rapidjson::rapidjson)
99+- if(TARGET rapidjson)
1010+- add_library( rapidjson::rapidjson ALIAS rapidjson )
1111++ if(TARGET RapidJSON)
1212++ if(NOT TARGET rapidjson)
1313++ add_library(rapidjson ALIAS RapidJSON)
1414++ endif()
1515++ add_library( rapidjson::rapidjson ALIAS RapidJSON )
1616+ else()
1717+ # At least on Arch RapidJSONConfig.cmake does not define a target at all
1818+ # so we have to do it ourselves