Commit 326d15a3 authored by Brad King's avatar Brad King
Browse files

cmake: Tolerate missing HELPSTRING on compiler change

Teach cmake::HandleDeleteCacheVariables to tolerate a missing HELPSTRING
(NULL pointer) when saving cache entries.  In the absence of other bugs
this should not be possible, but avoid the crash just in case.
parent cbc9a951
......@@ -1231,7 +1231,10 @@ int cmake::HandleDeleteCacheVariables(const char* var)
save.type = ci.GetType(); = ci.GetProperty("HELPSTRING");
if(const char* help = ci.GetProperty("HELPSTRING"))
{ = help;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment