[Kde-games-devel] kdegames trunk and FindKDEGames.cmake

Raphael Kubo da Costa rakuco at FreeBSD.org
Sat Jul 21 19:32:31 UTC 2012


Hi there, kdegamers,

While trying to review picmi, I checked out kdegames from trunk, built
libkdegames and noticed it installs both a FindKDEGames.cmake and a
KDEGamesConfig.cmake.

Looking at the commit log, Stefan mentions in r1293997 that he couldn't
get CMake to find the Config.cmake file without FindKDEGames.cmake. I
believe this is due to the fact tht the Config file was being installed
into the wrong directory -- by default, CMake does not look for config
files in $PREFIX/share/cmake/modules (see the documentation for
find_package for details).

The attached patch removes FindKDEGames.cmake and installs the config
file into the correct directory. Please check if it works for you as
well.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: kdegames-remove-FindKDEGames.cmake.diff
Type: text/x-diff
Size: 2292 bytes
Desc: Proposed patch
URL: <http://mail.kde.org/pipermail/kde-games-devel/attachments/20120721/4f6bc765/attachment.bin>


More information about the kde-games-devel mailing list