Re: [CMake] How to work around broken Find module

2010-11-01 Thread Marcel Loose
Hi Alex, On Sun, 2010-10-31 at 10:20 +0100, Alexander Neundorf wrote: > On Thursday 28 October 2010, Marcel Loose wrote: > > Hi all, > > > > What is the best way to work around a broken Find module? > > > > A technique I've used up till now is to wrap the broken module in a > > module with the sam

Re: [CMake] How to work around broken Find module

2010-10-31 Thread Alexander Neundorf
On Thursday 28 October 2010, Marcel Loose wrote: > Hi all, > > What is the best way to work around a broken Find module? > > A technique I've used up till now is to wrap the broken module in a > module with the same name that I store in my own module directory. This > way, my wrapper module will be

Re: [CMake] How to work around broken Find module

2010-10-28 Thread Ryan Pavlik
If you look at my repository, I have a system set up that I call "UseBackportedModules" - basically it checks the CMake version and extends the CMAKE_MODULE_PATH to include only those directories mentioning newer version than the current user's cmake version. It works pretty well for me. http://g

[CMake] How to work around broken Find module

2010-10-28 Thread Marcel Loose
Hi all, What is the best way to work around a broken Find module? A technique I've used up till now is to wrap the broken module in a module with the same name that I store in my own module directory. This way, my wrapper module will be picked up first. Problem with this approach is, of course,