summaryrefslogtreecommitdiff
path: root/Modules/CMakeTestCompilerCommon.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'Modules/CMakeTestCompilerCommon.cmake')
-rw-r--r--Modules/CMakeTestCompilerCommon.cmake10
1 files changed, 5 insertions, 5 deletions
diff --git a/Modules/CMakeTestCompilerCommon.cmake b/Modules/CMakeTestCompilerCommon.cmake
index fd8a105..d51b503 100644
--- a/Modules/CMakeTestCompilerCommon.cmake
+++ b/Modules/CMakeTestCompilerCommon.cmake
@@ -13,9 +13,9 @@
# 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()
+ 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()