Shipping a find script of a library with the library itself
Brad King
brad.king at kitware.com
Tue Nov 10 14:52:37 CET 2009
Stefan Majewsky wrote:
> Am Montag 09 November 2009 22:33:42 schrieb Alexander Neundorf:
>> Should also have the "at least two users" requirement for moving cmake
>> modules to kdelibs, as we have for other stuff which goes into kdelibs ?
>
> Urgh, that's a high hurdle... Okay, that convinced me to advise third-party
> devs to pack the find-script into their source tree.
The best approach is to follow Alex's suggestion elsewhere in this thread
and install a <pkg>Config.cmake file with your package. Then third-party
devs do *not* need any Find<pkg>.cmake module at all. See here for details:
http://www.cmake.org/Wiki/CMake_2.6_Notes#Packages
-Brad
More information about the Kde-buildsystem
mailing list