ExternalProject: remove extra newlines from log messages

message() already adds a newline.
This commit is contained in:
Ben Boeckel 2014-12-12 18:42:33 -05:00
parent a829f09bdd
commit 480e60298f
1 changed files with 2 additions and 2 deletions

View File

@ -1320,10 +1320,10 @@ if(result)
foreach(arg IN LISTS command)
set(msg \"\${msg} '\${arg}'\")
endforeach()
set(msg \"\${msg}\\nSee also\\n ${logbase}-*.log\\n\")
set(msg \"\${msg}\\nSee also\\n ${logbase}-*.log\")
message(FATAL_ERROR \"\${msg}\")
else()
set(msg \"${name} ${step} command succeeded. See also ${logbase}-*.log\\n\")
set(msg \"${name} ${step} command succeeded. See also ${logbase}-*.log\")
message(STATUS \"\${msg}\")
endif()
")