Skip to content
Snippets Groups Projects
Commit b61baf0c authored by David Cole's avatar David Cole Committed by Kitware Robot
Browse files

Merge topic 'codeblocks-cdefs'

60a3c08e Fix regression: write compile definitions if any
parents fae62381 60a3c08e
No related branches found
No related tags found
No related merge requests found
......@@ -623,7 +623,7 @@ void cmExtraCodeBlocksGenerator::AppendTarget(cmGeneratedFileStream& fout,
// the compilerdefines for this target
std::string cdefs = gtgt->GetCompileDefinitions();
if(cdefs.empty())
if(!cdefs.empty())
{
// Expand the list.
std::vector<std::string> defs;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment