[cmake-developers] [CMake 0014641]: FindMatlab.cmake is outdated/broken

Mantis Bug Tracker mantis at public.kitware.com
Mon Dec 9 14:52:13 EST 2013


The following issue has been SUBMITTED. 
====================================================================== 
http://www.cmake.org/Bug/view.php?id=14641 
====================================================================== 
Reported By:                kentwilliams
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   14641
Category:                   CMake
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2013-12-09 14:52 EST
Last Modified:              2013-12-09 14:52 EST
====================================================================== 
Summary:                    FindMatlab.cmake is outdated/broken
Description: 
The current FindMatlab.cmake doesn't work very well in finding libraries and
important executables.

There is a version that originated in the Gerardus project
(https://code.google.com/p/gerardus/) that does a better job.

Steps to Reproduce: 
find_package(MatLab REQUIRED)
if(NOT MATLAB_MEX_PATH)
  message("MATLAB_MEX_PATH not found, you must not be using the new
FindMatlab.cmake")
endif()

Additional Information: 
Attached file is what we use with some success.
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2013-12-09 14:52 kentwilliams   New Issue                                    
2013-12-09 14:52 kentwilliams   File Added: FindMatlab.cmake                    
======================================================================




More information about the cmake-developers mailing list