diff options
author | Brad King <brad.king@kitware.com> | 2022-09-29 11:52:16 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2022-09-29 11:52:25 (GMT) |
commit | f9fb96285126b811104cff133ee85a2e9b92f173 (patch) | |
tree | 7d754d4e376d39779b2b2c8d418ee82e8619bca2 | |
parent | 9c9c7d68cb814084d20b512a5e5d5e4e4a0c2e28 (diff) | |
parent | da45136ce32ce41689d9dcc8ba6f8fff69a75186 (diff) | |
download | CMake-f9fb96285126b811104cff133ee85a2e9b92f173.zip CMake-f9fb96285126b811104cff133ee85a2e9b92f173.tar.gz CMake-f9fb96285126b811104cff133ee85a2e9b92f173.tar.bz2 |
Merge topic 'fix-compiler-test-message'
da45136ce3 CMakeTestCXXCompiler.cmake: Improve logging consistency
Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: buildbot <buildbot@kitware.com>
Merge-request: !7724
-rw-r--r-- | Modules/CMakeTestCXXCompiler.cmake | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Modules/CMakeTestCXXCompiler.cmake b/Modules/CMakeTestCXXCompiler.cmake index e40c984..fa4016a 100644 --- a/Modules/CMakeTestCXXCompiler.cmake +++ b/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() |