diff options
author | David Cole <david.cole@kitware.com> | 2012-10-17 20:43:26 (GMT) |
---|---|---|
committer | CMake Topic Stage <kwrobot@kitware.com> | 2012-10-17 20:43:26 (GMT) |
commit | b61baf0c5c1e4886f0f799588584cdd2d7ad8ce0 (patch) | |
tree | aaf3b7bcefc6c8a675af5be73bea21a5b58c802f /Source | |
parent | fae62381f1f16f4119700fa7a8d6d44f1236ea90 (diff) | |
parent | 60a3c08e968f02877952992782b5745ce2d88119 (diff) | |
download | CMake-b61baf0c5c1e4886f0f799588584cdd2d7ad8ce0.zip CMake-b61baf0c5c1e4886f0f799588584cdd2d7ad8ce0.tar.gz CMake-b61baf0c5c1e4886f0f799588584cdd2d7ad8ce0.tar.bz2 |
Merge topic 'codeblocks-cdefs'
60a3c08 Fix regression: write compile definitions if any
Diffstat (limited to 'Source')
-rw-r--r-- | Source/cmExtraCodeBlocksGenerator.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmExtraCodeBlocksGenerator.cxx b/Source/cmExtraCodeBlocksGenerator.cxx index 8b2daba..00e1abc 100644 --- a/Source/cmExtraCodeBlocksGenerator.cxx +++ b/Source/cmExtraCodeBlocksGenerator.cxx @@ -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; |