aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwsnipex <wsnipex@a1.net>2017-05-25 13:17:29 +0200
committerwsnipex <wsnipex@a1.net>2017-05-25 13:18:14 +0200
commit572576521d67ebf56fb4814e483ee58deec6c6bc (patch)
tree59fe795c7ea54f9630bb6ead71842e0a2d7e7328
parentd278501de65b6b6be58ad4db1ad8394819f7f09a (diff)
[cmake] fix FindRapidJSON after 3d8742f818c20b8302464f34fbf248ed5aac2e0b
-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 7544dff750..d41985b583 100644
--- a/cmake/modules/FindRapidJSON.cmake
+++ b/cmake/modules/FindRapidJSON.cmake
@@ -16,7 +16,7 @@ endif()
if(CORE_SYSTEM_NAME STREQUAL windows OR CORE_SYSTEM_NAME STREQUAL windowsstore)
set(RapidJSON_VERSION 1.1.0)
else()
- if(${PC_RapidJSON_VERSION})
+ if(PC_RapidJSON_VERSION)
set(RapidJSON_VERSION ${PC_RapidJSON_VERSION})
else()
find_package(RapidJSON 1.1.0 CONFIG REQUIRED QUIET)