|
|
@ -165,7 +165,7 @@ struct Command {
|
|
|
|
// https://cmake.org/cmake/help/latest/manual/cmake-language.7.html#unquoted-argument
|
|
|
|
// https://cmake.org/cmake/help/latest/manual/cmake-language.7.html#unquoted-argument
|
|
|
|
// NOTE: Normally '/' does not require quoting according to the documentation but this has been the case here
|
|
|
|
// NOTE: Normally '/' does not require quoting according to the documentation but this has been the case here
|
|
|
|
// previously, so for backwards compatibility its still here.
|
|
|
|
// previously, so for backwards compatibility its still here.
|
|
|
|
if (str.find_first_of("()#\"\\'> |/") == str.npos)
|
|
|
|
if (str.find_first_of("()#\"\\'> |/;") == str.npos)
|
|
|
|
return str;
|
|
|
|
return str;
|
|
|
|
std::string result;
|
|
|
|
std::string result;
|
|
|
|
result += "\"";
|
|
|
|
result += "\"";
|
|
|
|