ソースを参照

Merge branch 'fix-stack-protector-all-introduce-dependency'

* fix-stack-protector-all-introduce-dependency:
  ctkFunctionGetGccVersion - Make sure trailing spaces are stripped
Jean-Christophe Fillion-Robin 14 年 前
コミット
295231e0bb
共有1 個のファイルを変更した2 個の追加0 個の削除を含む
  1. 2 0
      CMake/ctkFunctionGetGccVersion.cmake

+ 2 - 0
CMake/ctkFunctionGetGccVersion.cmake

@@ -25,6 +25,8 @@ FUNCTION(ctkFunctionGetGccVersion path_to_gcc output_var)
       RESULT_VARIABLE result
       RESULT_VARIABLE result
       OUTPUT_VARIABLE output
       OUTPUT_VARIABLE output
       ERROR_VARIABLE error
       ERROR_VARIABLE error
+      OUTPUT_STRIP_TRAILING_WHITESPACE
+      ERROR_STRIP_TRAILING_WHITESPACE
       )
       )
     IF(result)
     IF(result)
       MESSAGE(FATAL_ERROR "Failed to obtain compiler version running [${path_to_gcc} -dumpversion]: ${error}")
       MESSAGE(FATAL_ERROR "Failed to obtain compiler version running [${path_to_gcc} -dumpversion]: ${error}")