ENH: do not undef cmakedefine stuff, just comment out the line
This commit is contained in:
parent
67a5a82586
commit
eede7afb7e
|
@ -152,14 +152,15 @@ void cmConfigureFileCommand::ConfigureFile()
|
|||
{
|
||||
cmSystemTools::ReplaceString(inLine,
|
||||
"#cmakedefine", "#define");
|
||||
fout << inLine << "\n";
|
||||
}
|
||||
else
|
||||
{
|
||||
cmSystemTools::ReplaceString(inLine,
|
||||
"#cmakedefine", "#undef");
|
||||
fout << "/* " << inLine << " */\n";
|
||||
}
|
||||
}
|
||||
fout << inLine << "\n";
|
||||
}
|
||||
}
|
||||
// close the files before attempting to copy
|
||||
|
|
Loading…
Reference in New Issue