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 own cmake script that gets called at "make install" time and then include GetPrerequisites.cmake and call some of the functions in it... presumably to install other prerequisite libraries as well. Does that make sense? HTH, David On Mon, Nov 3, 2008 at 2: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 point to the right location for the > default Cmake modules. Could someone tell me what I should be > using in place of CMAKE_MODULE_PATH here ? I'm running with > cmake 2.6.1. > > -- > Regards > > Steve Collyer > Netspinner Ltd > _______________________________________________ > CMake mailing list > CMake@cmake.org > http://www.cmake.org/mailman/listinfo/cmake >
_______________________________________________ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake