Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
19 lines
813 B
Diff
19 lines
813 B
Diff
diff --git a/cmake-proxies/cmake-modules/dependencies/rapidjson.cmake b/cmake-proxies/cmake-modules/dependencies/rapidjson.cmake
|
|
index ba95962..66a96a8 100644
|
|
--- a/cmake-proxies/cmake-modules/dependencies/rapidjson.cmake
|
|
+++ b/cmake-proxies/cmake-modules/dependencies/rapidjson.cmake
|
|
@@ -2,8 +2,11 @@
|
|
|
|
if(NOT ${_OPT}use_rapidjson STREQUAL "off")
|
|
if(NOT TARGET rapidjson::rapidjson)
|
|
- if(TARGET rapidjson)
|
|
- add_library( rapidjson::rapidjson ALIAS rapidjson )
|
|
+ if(TARGET RapidJSON)
|
|
+ if(NOT TARGET rapidjson)
|
|
+ add_library(rapidjson ALIAS RapidJSON)
|
|
+ endif()
|
|
+ add_library( rapidjson::rapidjson ALIAS RapidJSON )
|
|
else()
|
|
# At least on Arch RapidJSONConfig.cmake does not define a target at all
|
|
# so we have to do it ourselves
|