Alexander Neundorf wrote: > On Tuesday 17 January 2012, Yury G. Kudryashov wrote: >> I have to know the DESTINATION at generation time to hardcode correct >> relative paths. > > They can be calculated too, see the determine_installed_location() macro > in the branch ImprovedConfigDotCMakeFile in git in kdeexamples. determine_installed_location() needs to know @CMAKE_INSTALL_PREFIX@ and @CMAKECONFIG_INSTALL_DIR@, so we need to ensure (or document?) that the same directory used while writing MyLibConfig.cmake and installing it. -- Yury G. Kudryashov, mailto: [email protected]
_______________________________________________ Kde-buildsystem mailing list [email protected] https://mail.kde.org/mailman/listinfo/kde-buildsystem
