Re: [CMake] FIND_PACKAGE from another Project

2008-06-10 Thread Alexander Neundorf
On Tuesday 10 June 2008, hsanson wrote: Alexander Neundorf wrote: ... Which project do you want to use ? Probably you will want to write a FindFoo.cmake file for it, which will contain mostly FIND_LIBRARY() and FIND_PATH() calls. Thanks, I already have Findname.cmake files for all my

Re: [CMake] FIND_PACKAGE from another Project

2008-06-09 Thread Horacio Sanson
On Mon, Jun 9, 2008 at 7:14 AM, Alexander Neundorf [EMAIL PROTECTED] wrote: On Friday 06 June 2008, hsanson wrote: From the CMake 2.4 documentation I get: Directories listed in CMAKE_MODULE_PATH are searched for files called Findname.cmake. If no such file is found, it is expected that the

Re: [CMake] FIND_PACKAGE from another Project

2008-06-09 Thread Alexander Neundorf
On Monday 09 June 2008, Horacio Sanson wrote: On Mon, Jun 9, 2008 at 7:14 AM, Alexander Neundorf [EMAIL PROTECTED] wrote: On Friday 06 June 2008, hsanson wrote: From the CMake 2.4 documentation I get: Directories listed in CMAKE_MODULE_PATH are searched for files called

Re: [CMake] FIND_PACKAGE from another Project

2008-06-09 Thread hsanson
Alexander Neundorf wrote: On Monday 09 June 2008, Horacio Sanson wrote: On Mon, Jun 9, 2008 at 7:14 AM, Alexander Neundorf [EMAIL PROTECTED] wrote: On Friday 06 June 2008, hsanson wrote: From the CMake 2.4 documentation I get: Directories listed in CMAKE_MODULE_PATH are

Re: [CMake] FIND_PACKAGE from another Project

2008-06-08 Thread Alexander Neundorf
On Friday 06 June 2008, hsanson wrote: From the CMake 2.4 documentation I get: Directories listed in CMAKE_MODULE_PATH are searched for files called Findname.cmake. If no such file is found, it is expected that the package is another project built by CMake that has a nameConfig.cmake file.

[CMake] FIND_PACKAGE from another Project

2008-06-06 Thread hsanson
From the CMake 2.4 documentation I get: Directories listed in CMAKE_MODULE_PATH are searched for files called Findname.cmake. If no such file is found, it is expected that the package is another project built by CMake that has a nameConfig.cmake file. A cache entry called name_DIR is created