[cmake-developers] Introduction and volunteering for the Matlab package

Raffi Enficiaud raffi.enficiaud at free.fr
Mon Jan 26 14:29:43 EST 2015

Dear Brad,

I addressed your proposed solution and sent you a patch, that is pending approval since this afternoon because of a size exceeding 300KB.

Best regards,
Raffi Enficiaud

> On 26 Jan 2015, at 14:43, Brad King <brad.king at kitware.com> wrote:
> On 01/23/2015 07:52 PM, Raffi Enficiaud wrote:
>>> This should be handled with a save/restore.
>> Are you referring to the CMakePushCheckState?
> No, CMAKE_FIND_LIBRARY_PREFIXES should be saved/restored manually
> with code in the Find module around the find_library calls.  You
> could also create a _Matlab_find_library function that sets
> CMAKE_FIND_LIBRARY_PREFIXES and calls find_library.  The setting
> would go out of scope when the function returns.  See the FindBoost
> module for a similar example.
> -Brad

More information about the cmake-developers mailing list