[CMake] Modules with additional files

Johannes Wienke jwienke at techfak.uni-bielefeld.de
Wed Dec 29 13:14:37 EST 2010


Hi,

Sorry for bumping this, but has anyone got a cue how to do this in a
reliable and easy way?

Thanks,
Johannes

Am 23.12.2010 20:49 schrieb Johannes Wienke:
> I've got a library that provides several cmake modules and also uses
> them. Some of these modules have additional files, e.g. to be used with
> CONFIGURE_FILE. The question is, how do I locate these additional files
> so that they work in both cases, in project and installed?
> ${CMAKE_ROOT}/Modules is of course not working and is also a bad
> assumption for multi-user systems where not everyone is admin. Something
> like CMAKE_CURRENT_MODULE_DIR would be ideal for my case... Is there a
> general solution for this problem?


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 262 bytes
Desc: OpenPGP digital signature
URL: <http://www.cmake.org/pipermail/cmake/attachments/20101229/a13d85a9/attachment.pgp>


More information about the CMake mailing list