Remove TODO to uniq COMPILE_OPTIONS
Compile options should not be passed through a uniq filter because repeated use of an option may have siginificance.
This commit is contained in:
parent
5fb58b8686
commit
8f5b402aa2
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue