Use:<br><br>SET(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${FOO_CMAKE_DIR}")<br>to append your own path...<br><br>SET(CMAKE_MODULE_PATH "${FOO_CMAKE_DIR}" ${CMAKE_MODULE_PATH})<br>to prepend your own path...
<br><br><br>HTH,<br>David<br><br><br><div><span class="gmail_quote">On 1/11/07, <b class="gmail_sendername">Pierre</b> <<a href="mailto:pierre.php@gmail.com">pierre.php@gmail.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hello,<br><br>Doing:<br><br>SET(CMAKE_MODULE_PATH "${FOO_CMAKE_DIR}")<br><br>removes the default module path (${CMAKE_ROOT}/Modules here on ubuntu<br>with 2.4.3). It is not possible anymore to call system macros like
<br>"check_include_file". Is it the expected behavior?<br><br>I thought setting CMAKE_MODULE_PATH adds a path but do not replace the<br>default one. Is there a way to get back the system path and add it<br>again (as a workaround)?
<br><br>Regards,<br>--Pierre<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">http://www.cmake.org/mailman/listinfo/cmake
</a><br></blockquote></div><br>