On Sunday, June 05, 2011 11:50:12 AM Michael Wild wrote: > On 06/04/2011 10:28 PM, Alexander Neundorf wrote: > > Hi, > > > > when installing an export-file cmake has the nice feature to calculate > > the CMAKE_INSTALL_PREFIX from the current location: ... > > If so, would it be ok if I move the code for calculating the > > IMPORT_PREFIX into the "parent" exports file ? > > > > Or should I add basically the same code in the generated "parent" > > exports-file ? > > > > Alex > > I usually hard-code the relative path from the FooConfig.cmake file to > the install-prefix and other installation directories using > configure_file(). E.g:
Good idea, thanks :-) You just influenced the future of KDE... ;-) Alex _______________________________________________ cmake-developers mailing list [email protected] http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers
