summaryrefslogtreecommitdiffstats
path: root/Help/guide/importing-exporting/MathFunctions
diff options
context:
space:
mode:
authorVincent Newsum <vynewsum@gmail.com>2021-09-22 07:43:56 (GMT)
committerVincent Newsum <vynewsum@gmail.com>2021-09-22 07:43:56 (GMT)
commit2f43ba507397a6d13924a592d4ebd86d7df8a2ef (patch)
treea96fa6202910197fd6387ad3ca5b9e104a93650e /Help/guide/importing-exporting/MathFunctions
parent60caed1bd646a7efbf045d55e80286c0cf28c685 (diff)
downloadCMake-2f43ba507397a6d13924a592d4ebd86d7df8a2ef.zip
CMake-2f43ba507397a6d13924a592d4ebd86d7df8a2ef.tar.gz
CMake-2f43ba507397a6d13924a592d4ebd86d7df8a2ef.tar.bz2
FindMatlab: Sort available Matlab versions using natural comparison.
On Windows, when FindMatlab.cmake searches the registry for installed Matlab versions, it sorts these versions alphabetically. Since Matlab 2021a (version 9.10) came out this became a problem as now version 9.10 is placed after 9.1 instead of after a higher version less than 9.10. The result is that FindMatlab doesn't return the highest version by default. This fix uses the natural sort comparison which was introduced in CMake 3.18.
Diffstat (limited to 'Help/guide/importing-exporting/MathFunctions')
0 files changed, 0 insertions, 0 deletions