summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHermann von Kleist <hermann.von.kleist@ivi.fraunhofer.de>2024-01-22 08:46:13 (GMT)
committerBrad King <brad.king@kitware.com>2024-01-22 14:29:57 (GMT)
commitb8665d44ba58d52113da8333b68d0d1ab5c7a67b (patch)
treea7b9f21b721be77f0d427dea3fbfd47922464329
parent44d2cf3ed4b192317093342d346b408e98122650 (diff)
downloadCMake-b8665d44ba58d52113da8333b68d0d1ab5c7a67b.zip
CMake-b8665d44ba58d52113da8333b68d0d1ab5c7a67b.tar.gz
CMake-b8665d44ba58d52113da8333b68d0d1ab5c7a67b.tar.bz2
FindMatlab: Fix error message from function
-rw-r--r--Modules/FindMatlab.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/FindMatlab.cmake b/Modules/FindMatlab.cmake
index 78ad892..987427f 100644
--- a/Modules/FindMatlab.cmake
+++ b/Modules/FindMatlab.cmake
@@ -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")