summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBen Boeckel <mathstuf@gmail.com>2014-12-12 23:42:33 (GMT)
committerBen Boeckel <mathstuf@gmail.com>2014-12-12 23:42:33 (GMT)
commit480e60298f862e0c1942b6e028e509f81b9ab71e (patch)
treea3ccea6827fd79af0fee5ee4301f797a6c4601a1
parenta829f09bdd5cf28c59eeebd39d1652be2bd23283 (diff)
downloadCMake-480e60298f862e0c1942b6e028e509f81b9ab71e.zip
CMake-480e60298f862e0c1942b6e028e509f81b9ab71e.tar.gz
CMake-480e60298f862e0c1942b6e028e509f81b9ab71e.tar.bz2
ExternalProject: remove extra newlines from log messages
message() already adds a newline.
-rw-r--r--Modules/ExternalProject.cmake4
1 files changed, 2 insertions, 2 deletions
diff --git a/Modules/ExternalProject.cmake b/Modules/ExternalProject.cmake
index 7e4cc37..98ff716 100644
--- a/Modules/ExternalProject.cmake
+++ b/Modules/ExternalProject.cmake
@@ -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()
")