Browse Source

CheckPIESupported: Prevent separate output lines running together

Craig Scott 3 years ago
parent
commit
91c859d1e5
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Modules/CheckPIESupported.cmake

+ 1 - 1
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()