aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfuzzard <fuzzard@users.noreply.github.com>2023-12-05 12:08:38 +1000
committerGitHub <noreply@github.com>2023-12-05 12:08:38 +1000
commit0c8ba59977a94b3c4aa325bb37a113ac5eaa98db (patch)
tree9f0914bd66d0483977b6a819c39fd50cf9f5f19a
parent4de822d5ce48e1ab232996d10cc23e7b6cb43401 (diff)
parent85ddf71af456a5162546f7767398287048152ae4 (diff)
Merge pull request #24179 from fuzzard/cmake_fixes
[cmake] FindRapidJSON fix capitalisation
-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()