Merge topic 'compiler-check-message'

f3ac0651 Improve compiler check message on non-Make generators
This commit is contained in:
Brad King 2016-02-26 10:31:32 -05:00 committed by CMake Topic Stage
commit 6b0a664c16
1 changed files with 1 additions and 5 deletions

View File

@ -13,9 +13,5 @@
# License text for the above reference.)
function(PrintTestCompilerStatus LANG MSG)
if(CMAKE_GENERATOR MATCHES Make)
message(STATUS "Check for working ${LANG} compiler: ${CMAKE_${LANG}_COMPILER}${MSG}")
else()
message(STATUS "Check for working ${LANG} compiler using: ${CMAKE_GENERATOR}${MSG}")
endif()
message(STATUS "Check for working ${LANG} compiler: ${CMAKE_${LANG}_COMPILER}${MSG}")
endfunction()