Merge topic 'minor-cleanups'
8f5b402
Remove TODO to uniq COMPILE_OPTIONS5fb58b8
Don't add trailing whitespace to error message.
This commit is contained in:
commit
a52f00e07c
|
@ -1380,7 +1380,7 @@ void cmLocalGenerator::AddCompileOptions(
|
||||||
// COMPILE_FLAGS are not escaped for historical reasons.
|
// COMPILE_FLAGS are not escaped for historical reasons.
|
||||||
this->AppendFlags(flags, targetFlags);
|
this->AppendFlags(flags, targetFlags);
|
||||||
}
|
}
|
||||||
std::vector<std::string> opts; // TODO: Emitted.
|
std::vector<std::string> opts;
|
||||||
target->GetCompileOptions(opts, config);
|
target->GetCompileOptions(opts, config);
|
||||||
for(std::vector<std::string>::const_iterator i = opts.begin();
|
for(std::vector<std::string>::const_iterator i = opts.begin();
|
||||||
i != opts.end(); ++i)
|
i != opts.end(); ++i)
|
||||||
|
|
|
@ -3203,7 +3203,7 @@ static void processIncludeDirectories(cmTarget *tgt,
|
||||||
{
|
{
|
||||||
e << "Target \"" << (*it)->TargetName << "\" contains relative "
|
e << "Target \"" << (*it)->TargetName << "\" contains relative "
|
||||||
"path in its INTERFACE_INCLUDE_DIRECTORIES:\n"
|
"path in its INTERFACE_INCLUDE_DIRECTORIES:\n"
|
||||||
" \"" << *li << "\" ";
|
" \"" << *li << "\"";
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue