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:
Stephen Kelly 2013-07-18 11:49:11 +02:00
parent 5fb58b8686
commit 8f5b402aa2
1 changed files with 1 additions and 1 deletions

View File

@ -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)