summaryrefslogtreecommitdiff
path: root/Modules/CheckPIESupported.cmake
diff options
context:
space:
mode:
authorCraig Scott <craig.scott@crascit.com>2022-04-09 12:38:49 +1000
committerBrad King <brad.king@kitware.com>2022-04-11 09:06:37 -0400
commit91c859d1e510bd1ce60fe8a105fe8d4a84392c1e (patch)
treed5e2deb1c3dcbb9712e6a04fdb96bdfc80e442c9 /Modules/CheckPIESupported.cmake
parentab5455aa79e6f259ebad3b630869662fd6c886d1 (diff)
downloadcmake-91c859d1e510bd1ce60fe8a105fe8d4a84392c1e.tar.gz
CheckPIESupported: Prevent separate output lines running together
Diffstat (limited to 'Modules/CheckPIESupported.cmake')
-rw-r--r--Modules/CheckPIESupported.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/CheckPIESupported.cmake b/Modules/CheckPIESupported.cmake
index 173fd61d31..452348bf9e 100644
--- a/Modules/CheckPIESupported.cmake
+++ b/Modules/CheckPIESupported.cmake
@@ -142,7 +142,7 @@ function (check_pie_supported)
# no support at link time. Set cache variables to NO
set(CMAKE_${lang}_LINK_PIE_SUPPORTED NO CACHE INTERNAL "PIE (${lang})")
set(CMAKE_${lang}_LINK_NO_PIE_SUPPORTED NO CACHE INTERNAL "NO_PIE (${lang})")
- string (APPEND outputs "PIE and NO_PIE are not supported by linker for ${lang}")
+ string (APPEND outputs "PIE and NO_PIE are not supported by linker for ${lang}\n")
endif()
endforeach()