diff options
author | Alex Turbov <i.zaufi@gmail.com> | 2019-08-13 02:02:14 (GMT) |
---|---|---|
committer | Alex Turbov <i.zaufi@gmail.com> | 2019-11-02 12:10:09 (GMT) |
commit | 7b2dd9dedc8195d2b3bc493dd5ab48cdd2fc3a7b (patch) | |
tree | 1e2d2c76f0ff3a5c7293517936aa18be7d6f58a9 /Modules/CMakeTestOBJCXXCompiler.cmake | |
parent | 949a1e120a3c2d9ecac08f7240a27d307fad503f (diff) | |
download | CMake-7b2dd9dedc8195d2b3bc493dd5ab48cdd2fc3a7b.zip CMake-7b2dd9dedc8195d2b3bc493dd5ab48cdd2fc3a7b.tar.gz CMake-7b2dd9dedc8195d2b3bc493dd5ab48cdd2fc3a7b.tar.bz2 |
Refactor: Use added message types in various modules
Co-Authored-By: Craig Scott <craig.scott@crascit.com>
Diffstat (limited to 'Modules/CMakeTestOBJCXXCompiler.cmake')
-rw-r--r-- | Modules/CMakeTestOBJCXXCompiler.cmake | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Modules/CMakeTestOBJCXXCompiler.cmake b/Modules/CMakeTestOBJCXXCompiler.cmake index bcce2f1..83227d5 100644 --- a/Modules/CMakeTestOBJCXXCompiler.cmake +++ b/Modules/CMakeTestOBJCXXCompiler.cmake @@ -27,7 +27,7 @@ unset(CMAKE_OBJCXX_COMPILER_WORKS CACHE) # is set and cmake stops processing commands and will not generate # any makefiles or projects. if(NOT CMAKE_OBJCXX_COMPILER_WORKS) - PrintTestCompilerStatus("OBJCXX" "") + PrintTestCompilerStatus("OBJCXX") __TestCompiler_setTryCompileTargetType() file(WRITE ${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/CMakeTmp/testOBJCXXCompiler.mm "#ifndef __cplusplus\n" @@ -48,7 +48,7 @@ if(NOT CMAKE_OBJCXX_COMPILER_WORKS) endif() if(NOT CMAKE_OBJCXX_COMPILER_WORKS) - PrintTestCompilerStatus("OBJCXX" " -- broken") + PrintTestCompilerResult(CHECK_FAIL "broken") file(APPEND ${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/CMakeError.log "Determining if the Objective-C++ compiler works failed with " "the following output:\n${__CMAKE_OBJCXX_COMPILER_OUTPUT}\n\n") @@ -59,7 +59,7 @@ if(NOT CMAKE_OBJCXX_COMPILER_WORKS) "CMake will not be able to correctly generate this project.") else() if(OBJCXX_TEST_WAS_RUN) - PrintTestCompilerStatus("OBJCXX" " -- works") + PrintTestCompilerResult(CHECK_PASS "works") file(APPEND ${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/CMakeOutput.log "Determining if the Objective-C++ compiler works passed with " "the following output:\n${__CMAKE_OBJCXX_COMPILER_OUTPUT}\n\n") |