[Cmake-commits] CMake branch, next, updated. v3.1.3-1357-ge8a87f3

Brad King brad.king at kitware.com
Fri Feb 13 12:46:22 EST 2015


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "CMake".

The branch, next has been updated
       via  e8a87f3d46b095501876a1d352f3b17feeb81860 (commit)
       via  ac403f3b77b567195147fcaba063aab73c227c63 (commit)
      from  986876baf18dfee425a883741ec1a9b65a203e53 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=e8a87f3d46b095501876a1d352f3b17feeb81860
commit e8a87f3d46b095501876a1d352f3b17feeb81860
Merge: 986876b ac403f3
Author:     Brad King <brad.king at kitware.com>
AuthorDate: Fri Feb 13 12:46:22 2015 -0500
Commit:     CMake Topic Stage <kwrobot at kitware.com>
CommitDate: Fri Feb 13 12:46:22 2015 -0500

    Merge topic 'FindMatlab-rewrite' into next
    
    ac403f3b FindMatlab: Fix typo in matlab_get_supported_versions


http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=ac403f3b77b567195147fcaba063aab73c227c63
commit ac403f3b77b567195147fcaba063aab73c227c63
Author:     Brad King <brad.king at kitware.com>
AuthorDate: Fri Feb 13 12:45:37 2015 -0500
Commit:     Brad King <brad.king at kitware.com>
CommitDate: Fri Feb 13 12:45:57 2015 -0500

    FindMatlab: Fix typo in matlab_get_supported_versions

diff --git a/Modules/FindMatlab.cmake b/Modules/FindMatlab.cmake
index 7b78886..3af4252 100644
--- a/Modules/FindMatlab.cmake
+++ b/Modules/FindMatlab.cmake
@@ -309,11 +309,11 @@ endmacro()
 # extracts all the supported versions of Matlab
 # internal use
 macro(matlab_get_supported_versions list_versions)
-  set(${list_releases})
+  set(${list_versions})
   foreach(_var IN LISTS MATLAB_VERSIONS_MAPPING)
     string(REGEX MATCHALL "(.+)=([0-9]+\\.?[0-9]*)" _matched ${_var})
     if(NOT _matched STREQUAL "")
-      list(APPEND ${list_releases} ${CMAKE_MATCH_2})
+      list(APPEND ${list_versions} ${CMAKE_MATCH_2})
     endif()
     unset(_matched)
     unset(CMAKE_MATCH_1)

-----------------------------------------------------------------------

Summary of changes:
 Modules/FindMatlab.cmake |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)


hooks/post-receive
-- 
CMake


More information about the Cmake-commits mailing list