Re: [CMake] How to find GetPrerequisites.cmake ?

2008-11-06 Thread Stephen Collyer
David Cole wrote: It is actively used in CVS HEAD of ParaView on the Mac to build the standalone paraview client .app bundle. Probably not as easy to understand as you'd like, but it works. This snippet is from the very bottom of ParaView's Applications/Client/CMakeLists.txt file. It's an

Re: [CMake] How to find GetPrerequisites.cmake ?

2008-11-06 Thread David Cole
In CVS HEAD of ParaView. It was committed just after the 3.4.0 release was created... On Thu, Nov 6, 2008 at 10:00 AM, Stephen Collyer [EMAIL PROTECTED]wrote: David Cole wrote: It is actively used in CVS HEAD of ParaView on the Mac to build the standalone paraview client .app bundle.

Re: [CMake] How to find GetPrerequisites.cmake ?

2008-11-05 Thread Stephen Collyer
David Cole wrote: This line:INSTALL(SCRIPT ${CMAKE_MODULE_PATH}/GetPrerequisites.cmake) doesn't really do anything at make install time. GetPrerequisites.cmake just defines a bunch of functions. You have to include it and then *call* some of the functions for it to do anything useful.

[CMake] How to find GetPrerequisites.cmake ?

2008-11-03 Thread Stephen Collyer
I'm trying to call this script at install time with something like: INSTALL(SCRIPT ${CMAKE_MODULE_PATH}/GetPrerequisites.cmake) I've tried a variety of variables in place of CMAKE_MODULE_PATH, but none of them seem to point to the right location for the default Cmake modules. Could someone tell

Re: [CMake] How to find GetPrerequisites.cmake ?

2008-11-03 Thread Nicolas Desprès
On Mon, Nov 3, 2008 at 8:47 PM, Stephen Collyer [EMAIL PROTECTED] wrote: I'm trying to call this script at install time with something like: INSTALL(SCRIPT ${CMAKE_MODULE_PATH}/GetPrerequisites.cmake) I've tried a variety of variables in place of CMAKE_MODULE_PATH, but none of them seem to

Re: [CMake] How to find GetPrerequisites.cmake ?

2008-11-03 Thread Stephen Collyer
Nicolas Desprès wrote: On Mon, Nov 3, 2008 at 8:47 PM, Stephen Collyer [EMAIL PROTECTED] wrote: I'm trying to call this script at install time with something like: INSTALL(SCRIPT ${CMAKE_MODULE_PATH}/GetPrerequisites.cmake) I've tried a variety of variables in place of CMAKE_MODULE_PATH,

Re: [CMake] How to find GetPrerequisites.cmake ?

2008-11-03 Thread Nicolas Desprès
On Mon, Nov 3, 2008 at 9:11 PM, Stephen Collyer [EMAIL PROTECTED] wrote: Nicolas Desprès wrote: On Mon, Nov 3, 2008 at 8:47 PM, Stephen Collyer [EMAIL PROTECTED] wrote: I'm trying to call this script at install time with something like: INSTALL(SCRIPT

Re: [CMake] How to find GetPrerequisites.cmake ?

2008-11-03 Thread David Cole
This line:INSTALL(SCRIPT ${CMAKE_MODULE_PATH}/GetPrerequisites.cmake) doesn't really do anything at make install time. GetPrerequisites.cmake just defines a bunch of functions. You have to include it and then *call* some of the functions for it to do anything useful. So, you should write your