[CMake] 3rd party cmake files

Alexander Neundorf a.neundorf-work at gmx.net
Mon Jun 5 12:09:52 EDT 2006


Hi,

what's the preferred way to distribute cmake files for 3rd party projects ?

Currently cmake looks for files in ${CMAKE_ROOT}/Modules and in CMAKE_MODULE_PATH.

Now (e.g. the QtDBUS package) builds with cmake and actually should come with its own cmake files.
One way is to contribute these files (FindQtDBUS.cmake or something like this) to cmake so that it becomes part of the official cmake distribution.

Another option would be if QtDBUS installs FindQTDBUS.cmake into ${CMAKE_ROOT}/Modules . 
This won't work if the user doesn't have root access.

How about adding something like ${HOME}/.CMake/Modules/ to the cmake search path ?

Bye
Alex

-- 


Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen!
      Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer
    


More information about the CMake mailing list