aboutsummaryrefslogtreecommitdiff
path: root/cmake/modules
diff options
context:
space:
mode:
authorfuzzard <fuzzard@kodi.tv>2023-11-29 17:52:49 +1000
committerfuzzard <fuzzard@kodi.tv>2023-12-04 17:15:10 +1000
commit85ddf71af456a5162546f7767398287048152ae4 (patch)
treea8e56d1c7f6039e13b6a87bacf1d98f968435b8d /cmake/modules
parent2a28a56a0f278e4fe2f6f9079298a63e1386bede (diff)
[cmake] FindRapidJSON fix capitalisation
Incorrect capitalisation causes module to always be built. Fix this.
Diffstat (limited to 'cmake/modules')
-rw-r--r--cmake/modules/FindRapidJSON.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/modules/FindRapidJSON.cmake b/cmake/modules/FindRapidJSON.cmake
index 377273151f..df34eff2b2 100644
--- a/cmake/modules/FindRapidJSON.cmake
+++ b/cmake/modules/FindRapidJSON.cmake
@@ -53,7 +53,7 @@ if(NOT TARGET RapidJSON::RapidJSON)
# Check for existing RAPIDJSON. If version >= RAPIDJSON-VERSION file version, dont build
# A corner case, but if a linux/freebsd user WANTS to build internal tinyxml2, build anyway
- if((RAPIDJSON_VERSION VERSION_LESS ${${MODULE}_VER} AND ENABLE_INTERNAL_RapidJSON) OR
+ if((RapidJSON_VERSION VERSION_LESS ${${MODULE}_VER} AND ENABLE_INTERNAL_RapidJSON) OR
((CORE_SYSTEM_NAME STREQUAL linux OR CORE_SYSTEM_NAME STREQUAL freebsd) AND ENABLE_INTERNAL_RapidJSON))
# Build internal rapidjson
buildrapidjson()