FindLibraryWithDebug replacement

Allen Winter winter at kde.org
Thu May 8 12:20:34 UTC 2014


On Thursday, May 08, 2014 09:37:04 AM Saro Engels wrote:
> 
> Am 08.05.2014 00:43, schrieb Allen Winter:
> > Howdy,
> >
> > FindTaglib.cmake used by the kfilemetadata frameworks tries to
> > include FindLibraryWithDebug except that FindLibraryWithDebug.cmake
> > comes from kdelibs4support
> >
> > Does modern CMake have a replacement for FindLibraryWithDebug we
> > should use instead? Maybe modern CMake's find_library is good
> > enough?
> 
> I just checked, and there isn't something suitable.
> 
> taglib has a bat script though in the newest version which provides
> similar output to taglib-config (the shell script) and maybe we could
> get a cmake config file in there too (I know that this would be prefered).
> 
> Not sure what you think about it.
> 
If we plan to go to that much trouble, perhaps simply easier to put
a copy of FindLibraryWithDebug.cmake into kfilemetadata/cmake

Or copy the contents of FindLibraryWithDebug.cmake into FindTaglib.cmake

I wonder why taglib is so darn special, but I don't care enough to investigate.

> >
> >
> > See
> > frameworks/kdelibs4support/cmake/modules/FindLibraryWithDebug.cmake
> >
> >
> #  FIND_LIBRARY_WITH_DEBUG
> > #  -> enhanced FIND_LIBRARY to allow the search for an #
> > optional debug library with a WIN32_DEBUG_POSTFIX similar #     to
> > CMAKE_DEBUG_POSTFIX when creating a shared lib #     it has to be
> > the second and third argument
> >
> >
> > _______________________________________________ Kde-buildsystem
> > mailing list Kde-buildsystem at kde.org
> > https://mail.kde.org/mailman/listinfo/kde-buildsystem
> >
> 
> regards,
> Patrick
> _______________________________________________
> Kde-buildsystem mailing list
> Kde-buildsystem at kde.org
> https://mail.kde.org/mailman/listinfo/kde-buildsystem
> 



More information about the Kde-buildsystem mailing list