[CMake] FindMatlab tips?

2010-08-06 Thread James C. Sutherland
Is the FindMatlab.cmake package maintained? It seems to fail miserably on Mac. Are there any patches out there? Thanks for any tips... James ___ Powered by www.kitware.com Visit other Kitware open-source projects at

Re: [CMake] FindMatlab tips?

2010-08-06 Thread Brian Davis
Fails miserably on Win32 (XP), Win7 64, Win Server 2008 64 too. You'll find as I have that the find whatevers are not all that they are cracked up to be. CUDA is another example. find_package should really be named attempt_to_find_package_and_when_you_can't_simply_tell_me_the_vars_to_set(

Re: [CMake] FindMatlab tips?

2010-08-06 Thread Ryan Pavlik
The alternative to this hardcoding is, if the find module is broken for the standard system, fix it and submit a patch (a lot are only minimally maintained and most are at least outdated stylewise), or if you know your lib is in a weird place on your system, append that location to

Re: [CMake] FindMatlab tips?

2010-08-06 Thread Brian Davis
I think Ryan's comments help support my assessment of FindWhatevers. Add recently downloaded GTK in GLade 3.6 for windows and can now add this to list of not working FindWhatevers. find_package( GTK2 ) of course does not work for this as of today. Statements like CAUTION: The contents of this