Merge topic 'compiler-check-message'
f3ac0651
Improve compiler check message on non-Make generators
This commit is contained in:
commit
6b0a664c16
|
@ -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()
|
||||
endfunction()
|
||||
|
|
Loading…
Reference in New Issue