mirror of
https://gitlab.kitware.com/cmake/cmake.git
synced 2026-09-28 04:09:35 +03:00
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:
@@ -1380,7 +1380,7 @@ void cmLocalGenerator::AddCompileOptions(
|
||||
// COMPILE_FLAGS are not escaped for historical reasons.
|
||||
this->AppendFlags(flags, targetFlags);
|
||||
}
|
||||
std::vector<std::string> opts; // TODO: Emitted.
|
||||
std::vector<std::string> opts;
|
||||
target->GetCompileOptions(opts, config);
|
||||
for(std::vector<std::string>::const_iterator i = opts.begin();
|
||||
i != opts.end(); ++i)
|
||||
|
||||
Reference in New Issue
Block a user