This line:<div><span class="Apple-style-span" style="border-collapse: collapse; ">INSTALL(SCRIPT "${CMAKE_MODULE_PATH}/GetPrerequisites.cmake")</span></div><div><span class="Apple-style-span" style="border-collapse: collapse;"><br>
</span></div><div><span class="Apple-style-span" style="border-collapse: collapse;">doesn't really do anything at "make install" time.</span></div><div><span class="Apple-style-span" style="border-collapse: collapse;"><br>
</span></div><div><span class="Apple-style-span" style="border-collapse: collapse;">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.<br>
</span><br></div><div>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.</div>
<div><br></div><div>Does that make sense?</div><div><br></div><div><br></div><div>HTH,</div><div>David</div><div><br></div><div><br><div class="gmail_quote">On Mon, Nov 3, 2008 at 2:47 PM, Stephen Collyer <span dir="ltr"><<a href="mailto:scollyer@netspinner.co.uk">scollyer@netspinner.co.uk</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">I'm trying to call this script at install time with<br>
something like:<br>
<br>
INSTALL(SCRIPT "${CMAKE_MODULE_PATH}/GetPrerequisites.cmake")<br>
<br>
I've tried a variety of variables in place of CMAKE_MODULE_PATH,<br>
but none of them seem to point to the right location for the<br>
default Cmake modules. Could someone tell me what I should be<br>
using in place of CMAKE_MODULE_PATH here ? I'm running with<br>
cmake <a href="http://2.6.1." target="_blank">2.6.1.</a><br>
<br>
--<br>
Regards<br>
<br>
Steve Collyer<br>
Netspinner Ltd<br>
_______________________________________________<br>
CMake mailing list<br>
<a href="mailto:CMake@cmake.org">CMake@cmake.org</a><br>
<a href="http://www.cmake.org/mailman/listinfo/cmake" target="_blank">http://www.cmake.org/mailman/listinfo/cmake</a><br>
</blockquote></div><br></div>