FindLibUSB1

Yury G. Kudryashov urkud.urkud at gmail.com
Sun Sep 18 12:27:13 UTC 2011


Yury G.  Kudryashov wrote:

> Alexander Neundorf wrote:
> 
>> On Sunday, September 18, 2011 10:59:25 AM Yury G. Kudryashov wrote:
>>> Hi!
>>> 
>>> I think that presense of FindLibUSB1.cmake will slightly simplify
>>> transition from libusb-0.1 to libusb-1.0. Review the attached file,
>>> please.
>> 
>> Do we still need support for the older libusb version actually ?
> I don't know how to search for KDE code using FindUSB.cmake.
Searched on projects.kde.org.

It seems that (some) versions of libgphoto2 link to libusb-0.1, and digikam 
calls find_package(USB); target_link_libraries(... ${LIBUSB_LIBRARIES}) to 
workaround some strange bug.
-- 
Yury G. Kudryashov,
mailto: urkud at mccme.ru



More information about the Kde-buildsystem mailing list