mirror of
https://github.com/Kitware/CMake.git
synced 2026-04-28 09:59:20 -05:00
Refactor: Use added message types in various modules
Co-Authored-By: Craig Scott <craig.scott@crascit.com>
This commit is contained in:
@@ -15,7 +15,7 @@ if(${FortranCInterface_BINARY_DIR}/Input.cmake
|
||||
OR ${CMAKE_CURRENT_LIST_FILE}
|
||||
IS_NEWER_THAN ${FortranCInterface_BINARY_DIR}/Output.cmake
|
||||
)
|
||||
message(STATUS "Detecting Fortran/C Interface")
|
||||
message(CHECK_START "Detecting Fortran/C Interface")
|
||||
else()
|
||||
return()
|
||||
endif()
|
||||
@@ -172,7 +172,9 @@ if(FortranCInterface_GLOBAL_FOUND)
|
||||
else()
|
||||
set(_result "Found GLOBAL but not MODULE mangling")
|
||||
endif()
|
||||
set(_result_type CHECK_PASS)
|
||||
elseif(NOT _result)
|
||||
set(_result "Failed to recognize symbols")
|
||||
set(_result_type CHECK_FAIL)
|
||||
endif()
|
||||
message(STATUS "Detecting Fortran/C Interface - ${_result}")
|
||||
message(${_result_type} "${_result}")
|
||||
|
||||
Reference in New Issue
Block a user