Browse Source
When the rapidjson found by cmake is an older version it defines a variable RAPIDJSON_INCLUDE_DIRS instead of RapidJSON_INCLUDE_DIRS (#455). According to #383 we do not want to make these older version work with ccls. However currently if the rapidjson found by cmake is an older version that defined RAPIDJSON_INCLUDE_DIRS, then the cmake invocation still succeeds but any build command will fail because RapidJSON_INCLUDE_DIRS was never set properly. This makes the cmake invocation fail with a relevant error message in this event.pull/651/head
Victor Sui
4 years ago
committed by
Fangrui Song
1 changed files with 3 additions and 0 deletions
Loading…
Reference in new issue