Просмотр исходного кода

Merge topic 'fix-compiler-test-message'

da45136ce3 CMakeTestCXXCompiler.cmake: Improve logging consistency

Acked-by: Kitware Robot <[email protected]>
Acked-by: buildbot <[email protected]>
Merge-request: !7724
Brad King 3 лет назад
Родитель
Сommit
f9fb962851
1 измененных файлов с 2 добавлено и 2 удалено
  1. 2 2
      Modules/CMakeTestCXXCompiler.cmake

+ 2 - 2
Modules/CMakeTestCXXCompiler.cmake

@@ -57,7 +57,7 @@ if(NOT CMAKE_CXX_COMPILER_WORKS)
   if(NOT CMAKE_CXX_COMPILER_WORKS)
     PrintTestCompilerResult(CHECK_FAIL "broken")
     file(APPEND ${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/CMakeError.log
-      "Determining if the CXX compiler works failed with "
+      "Determining if the C++ compiler works failed with "
       "the following output:\n${__CMAKE_CXX_COMPILER_OUTPUT}\n\n")
     string(REPLACE "\n" "\n  " _output "${__CMAKE_CXX_COMPILER_OUTPUT}")
     message(FATAL_ERROR "The C++ compiler\n  \"${CMAKE_CXX_COMPILER}\"\n"
@@ -67,7 +67,7 @@ if(NOT CMAKE_CXX_COMPILER_WORKS)
   endif()
   PrintTestCompilerResult(CHECK_PASS "works")
   file(APPEND ${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/CMakeOutput.log
-    "Determining if the CXX compiler works passed with "
+    "Determining if the C++ compiler works passed with "
     "the following output:\n${__CMAKE_CXX_COMPILER_OUTPUT}\n\n")
 endif()