summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2024-01-26 15:11:01 (GMT)
committerKitware Robot <kwrobot@kitware.com>2024-01-26 15:11:09 (GMT)
commit8e7960773f3b98bc66295cfafb6ee8bb3573d9ff (patch)
tree9bb69f2e6c26336eabffdffbe31080e85bc9e4f4
parentdebb57efa26a9e232a6877903ca43641ace04269 (diff)
parent29fece7ef36160a9551d9a2487e21fec6e072ac5 (diff)
downloadCMake-8e7960773f3b98bc66295cfafb6ee8bb3573d9ff.zip
CMake-8e7960773f3b98bc66295cfafb6ee8bb3573d9ff.tar.gz
CMake-8e7960773f3b98bc66295cfafb6ee8bb3573d9ff.tar.bz2
Merge topic 'find-matlab-docs-mcr-version-mapping'
29fece7ef3 FindMatlab: Document that version mappings do not apply to MCR Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9184
-rw-r--r--Modules/FindMatlab.cmake12
1 files changed, 11 insertions, 1 deletions
diff --git a/Modules/FindMatlab.cmake b/Modules/FindMatlab.cmake
index 7777643..608b2ed 100644
--- a/Modules/FindMatlab.cmake
+++ b/Modules/FindMatlab.cmake
@@ -193,7 +193,7 @@ Provided commands
^^^^^^^^^^^^^^^^^
:command:`matlab_get_version_from_release_name`
- returns the version from the release name
+ returns the version from the Matlab release name
:command:`matlab_get_release_name_from_version`
returns the release name from the Matlab version
:command:`matlab_add_mex`
@@ -346,6 +346,11 @@ file(MAKE_DIRECTORY "${_matlab_temporary_folder}")
* Output: ``version`` is the version of Matlab (e.g. 23.2.0)
Returns the version of Matlab from a release name
+
+ .. note::
+
+ This command provides correct versions mappings for Matlab but not MCR.
+
#]=======================================================================]
macro(matlab_get_version_from_release_name release_name version_name)
@@ -373,6 +378,11 @@ endmacro()
* Output: ``release_name`` is the release name (R2023b)
Returns the release name from the version of Matlab
+
+ .. note::
+
+ This command provides correct version mappings for Matlab but not MCR.
+
#]=======================================================================]
function(matlab_get_release_name_from_version version release_name)