diff options
author | Brad King <brad.king@kitware.com> | 2022-02-14 15:24:51 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2022-02-14 15:24:51 (GMT) |
commit | a16cefeafe4a043b94675a1eaf7d51c24e51ecd3 (patch) | |
tree | 894fd20e3a34de1ee6088db2c48479887241f708 | |
parent | e6e9c8e484e7e0307f948d035c0d87bdee985743 (diff) | |
parent | b8d885ed0d801d02052c65a8482b55587e60fffd (diff) | |
download | CMake-a16cefeafe4a043b94675a1eaf7d51c24e51ecd3.zip CMake-a16cefeafe4a043b94675a1eaf7d51c24e51ecd3.tar.gz CMake-a16cefeafe4a043b94675a1eaf7d51c24e51ecd3.tar.bz2 |
Merge branch 'FindMatlab-mcr911' into release-3.22
Merge-request: !6976
-rw-r--r-- | Modules/FindMatlab.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/FindMatlab.cmake b/Modules/FindMatlab.cmake index 0ca593e..f0e991b 100644 --- a/Modules/FindMatlab.cmake +++ b/Modules/FindMatlab.cmake @@ -1353,7 +1353,7 @@ function(_Matlab_get_version_from_root matlab_root matlab_or_mcr matlab_known_ve ${versioninfo_string} ) - if(CMAKE_MATCH_1 MATCHES "(([0-9])\\.([0-9]))[\\.0-9]*") + if(CMAKE_MATCH_1 MATCHES "(([0-9]+)\\.([0-9]+))[\\.0-9]*") set(_matlab_version_tmp "${CMAKE_MATCH_1}") endif() endif() |