On Fri, Jan 30, 2009 at 11:56 PM, Thomas Harning <[email protected]> wrote:

> 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.
>
> I've put FindMHASH.cmake in the root path of the project, as well as put it
> under 'Modules' in there.  I've performed:
>
> set(CMAKE_MODULES_PATH Modules)


typo and/or you're assuming that setting the variable works with a relative
path, which it does not.
Try the following from the parent directory of Modules:

set(CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/Modules)

-- 
Philip Lowman
_______________________________________________
CMake mailing list
[email protected]
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to