mirror of
https://github.com/Kitware/CMake.git
synced 2026-04-30 02:59:22 -05:00
Merge topic 'configure_file-NEWLINE_STYLE-no-warn'
024e25e4Tests: Add more signature tests to RunCMake.configure_file test3ef776fcconfigure_file: Do not warn about newline style arguments
This commit is contained in:
@@ -100,6 +100,13 @@ bool cmConfigureFileCommand
|
||||
{
|
||||
/* Ignore legacy option. */
|
||||
}
|
||||
else if(args[i] == "NEWLINE_STYLE" ||
|
||||
args[i] == "LF" || args[i] == "UNIX" ||
|
||||
args[i] == "CRLF" || args[i] == "WIN32" ||
|
||||
args[i] == "DOS")
|
||||
{
|
||||
/* Options handled by NewLineStyle member above. */
|
||||
}
|
||||
else
|
||||
{
|
||||
unknown_args += " ";
|
||||
|
||||
Reference in New Issue
Block a user