Merge topic 'codeblocks-cdefs'

60a3c08 Fix regression: write compile definitions if any
This commit is contained in:
David Cole 2012-10-17 16:43:26 -04:00 committed by CMake Topic Stage
commit b61baf0c5c
1 changed files with 1 additions and 1 deletions

View File

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