mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-05 21:31:08 -06:00
Merge topic 'compiler-check-message'
f3ac0651 Improve compiler check message on non-Make generators
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user