<div class="gmail_quote">On Fri, Jan 30, 2009 at 11:56 PM, Thomas Harning <span dir="ltr"><<a href="mailto:harningt@gmail.com">harningt@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I have a CMake module that is not in the module repository and cannot quite figure out the right way to include it in my project.<br>
<br>
I've put FindMHASH.cmake in the root path of the project, as well as put it under 'Modules' in there. I've performed:<br>
<br>
set(CMAKE_MODULES_PATH Modules)</blockquote><div><br>typo and/or you're assuming that setting the variable works with a relative path, which it does not.<br>Try the following from the parent directory of Modules:<br>
<br>set(CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/Modules)<br></div></div><br>-- <br>Philip Lowman<br>