FindMatlab: Fix error message from function

This commit is contained in:
Hermann von Kleist 2024-01-22 09:46:13 +01:00 committed by Brad King
parent 44d2cf3ed4
commit b8665d44ba

View File

@ -452,7 +452,7 @@ endmacro()
function(matlab_extract_all_installed_versions_from_registry win64 matlab_versions)
if(NOT CMAKE_HOST_WIN32)
message(FATAL_ERROR "[MATLAB] This macro can only be called by a Windows host")
message(FATAL_ERROR "[MATLAB] This function can only be called by a Windows host")
endif()
if(${win64} AND CMAKE_HOST_SYSTEM_PROCESSOR MATCHES "64")