mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-06 05:40:54 -06:00
Fix regression: write compile definitions if any
In 0ff4e3f0b8 cdefs
was changed from a pointer to a vector.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user