From kde-buildsystem Mon Feb 20 20:29:38 2012 From: Modestas Vainius Date: Mon, 20 Feb 2012 20:29:38 +0000 To: kde-buildsystem Subject: Re: Strange commit to FindKDE4Internal.cmake Message-Id: <201202202229.38795.modax () debian ! org> X-MARC-Message: https://marc.info/?l=kde-buildsystem&m=132976981431745 MIME-Version: 1 Content-Type: multipart/mixed; boundary="--===============8710029593931805613==" --===============8710029593931805613== Content-Type: multipart/signed; boundary="nextPart1402793.DPMyFM0ku7"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit --nextPart1402793.DPMyFM0ku7 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hello, On pirmadienis 20 Vasaris 2012 20:56:04 Andreas Pakulat wrote: > > Really ? > > My original 2.8.3 binary package as provided by Kitware installs into > > /usr/share/cmake-2.8/modules >=20 > Debian also installs into /usr/share/cmake-/Modules/. There is > a /usr/share/cmake too, but thats from SDO and only from that one. But > of course other distro's might be doing things differently. On Debian, only cmake itself installs to /usr/share/cmake-/Modules= /,=20 anything else installing there would be a (serious) bug. A few reasons for= =20 this are: 1) Directory has a major cmake version number embedded which already scream= s=20 that it's private. 2) Library itself should install *Config.cmake file rather than Find* file.= =20 cmake 2.6 is almost 4 years old, no need to stay in the stone age. 3) If package/library needs Find* files for 3rd party libraries, it can set= up=20 required paths via *Config.cmake file so cmake will find them. phonon does= =20 something similar (iirc). 4) They key in KDElibs case is (as Alex said in other mail): > CMake ships a very small FindKDE4.cmake, which searches for our lengthy > FindKDE4Internal.cmake, which when found, does the rest. But in general *Config.cmake deprecates the need for that small=20 =46indKDE4.cmake. =2D-=20 Modestas Vainius --nextPart1402793.DPMyFM0ku7 Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) iEYEABECAAYFAk9CrTIACgkQHO9JRnPq4hQlLQCcCDQXQercokEnfML3FqU7KoUq /6EAoNBnlt4jNy8MibNClLLXTbPNi5Yh =dKPq -----END PGP SIGNATURE----- --nextPart1402793.DPMyFM0ku7-- --===============8710029593931805613== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Kde-buildsystem mailing list Kde-buildsystem@kde.org https://mail.kde.org/mailman/listinfo/kde-buildsystem --===============8710029593931805613==--