Re: [CMake] Question about find package in Module mode

2012-10-10 Thread Alexander Neundorf
On Tuesday 09 October 2012, Fabio Fracassi wrote: > Hello, > > I am using find_package in Module mode for a Library that is also build > using cmake. > The Library is build in a way that it can be used both from the build > dir, and from the installed location. > > When using find_package it alwa

Re: [CMake] Question about find package in Module mode

2012-10-09 Thread Andreas Pakulat
Hi, On Tue, Oct 9, 2012 at 5:39 PM, Fabio Fracassi wrote: > On 10/9/12 5:05 PM, Andreas Pakulat wrote: > On Tue, Oct 9, 2012 at 4:42 PM, Fabio Fracassi > What do you mean with "package registry" here? > > It means the package registry where cmake stores previously build packages, > which can be d

Re: [CMake] Question about find package in Module mode

2012-10-09 Thread Fabio Fracassi
On 10/9/12 5:05 PM, Andreas Pakulat wrote: Hi, On Tue, Oct 9, 2012 at 4:42 PM, Fabio Fracassi wrote: On 10/9/12 4:12 PM, Andreas Pakulat wrote: Hi, On Tue, Oct 9, 2012 at 3:46 PM, Fabio Fracassi wrote: Hello, I am using find_package in Module mode for a Library that is also build using cm

Re: [CMake] Question about find package in Module mode

2012-10-09 Thread Andreas Pakulat
Hi, On Tue, Oct 9, 2012 at 3:46 PM, Fabio Fracassi wrote: > Hello, > > I am using find_package in Module mode for a Library that is also build > using cmake. > The Library is build in a way that it can be used both from the build dir, > and from the installed location. > > When using find_package

[CMake] Question about find package in Module mode

2012-10-09 Thread Fabio Fracassi
Hello, I am using find_package in Module mode for a Library that is also build using cmake. The Library is build in a way that it can be used both from the build dir, and from the installed location. When using find_package it always seems to prefer the build dir version, which is somewhat s