Review Request: Install LibKexiv2Config.cmake

Yury G. Kudryashov urkud.urkud at gmail.com
Sun Jan 15 17:50:48 UTC 2012


Le 15 января 2012 15:51:32 Alexander Neundorf a écrit :
> On Sunday 15 January 2012, Yury Georgievich Kudryashov wrote:
> > > On Jan. 15, 2012, 1:45 p.m., Alexander Neundorf wrote:
> > > > IF(WIN32 AND NOT CYGWIN)
> > > > 
> > > >     SET(DEF_CMAKEFILES_INSTALL_DIR CMake)
> > > > 
> > > > ELSE()
> > > > 
> > > >     SET(DEF_CMAKEFILES_INSTALL_DIR
> > > >     ${LIB_INSTALL_DIR}/cmake/LibKexiv2)> > > 
> > > > ENDIF()
> > > > 
> > > > Why is WIN32 special cased ?
> > 
> > `man cmake` says that cmake does not look into $prefix/lib/cmake/name on
> > Windows.
> 
> Indeed.
> Our KDE-on-Windows never complained about that the Config.cmake files would
> not be found.
> Also, from a quick look at cmFindPackageCommand.cxx, it looks like lib/ and
> share/ should also be searched under Windows, no ifdefs there:
Should I prepare a patch to cmake documentation?
-- 
Yury G. Kudryashov,
mailto: urkud at mccme.ru
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 230 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde-buildsystem/attachments/20120115/58f819ba/attachment.sig>


More information about the Kde-buildsystem mailing list