aboutsummaryrefslogtreecommitdiff
path: root/modules/FindUSB.cmake
AgeCommit message (Collapse)Author
2011-06-30Move the modules, modules-test and systeminfo subdirs into 'attic'Allen Winter
2010-09-26-consistent upper/lowercasingAlexander Neundorf
-remove the unnecessary if(already found) set(QUIET TRUE), since this is already handled by find_package_handle_standard_args() Alex svn path=/trunk/KDE/kdelibs/; revision=1179961
2009-03-11Suppress 'not found' messages from pkgconfig when the module subsequentlyDavid Jarvie
attempts to locate the package by other means. svn path=/trunk/KDE/kdelibs/; revision=938476
2008-12-02-rework all uses of find_package(PkgConfig)/pkg_check_modules():Alexander Neundorf
the prefix used for pkgconfig config (e.g. SQLITE) now *always* gets an additional "PC_" prefix, so the prefix used for pkgconfig is now "PC_SQLITE_". This avoids name clashes between variables defined by the pkgconfig macro and the find module and unwanted effects. *Never* use the _CFLAGS coming from pkgconfig, but always CFLAGS_OTHER, since these shouldn't contain the include directories. If the include directories would be in the DEFINITIONS variable this could clash with the results of find_path() for finding include dirs. *Always* use both foo_INCLUDEDIR, foo_INCLUDE_DIRS for searching the include dir, and also both foo_LIBDIR and foo_LIBRARY_DIRS for searching the libraries. These directories coming from pkgconfig are *never* used exclusively, but *always* additionally to the standard search dirs, either before them (then using the "HINTS" keyword) or after them (then using the "PATHS" keyword) I hope I didn't break (too much) stuff. At least on my system it all seems to work the same way as it did before, with and without pkgconfig. Alex svn path=/trunk/KDE/kdelibs/; revision=891805
2008-11-11Port them tooLaurent Montel
svn path=/trunk/KDE/kdelibs/; revision=882802
2008-02-18some improvements to the docs:Alexander Neundorf
-some modules were not at all documented, only few are left now -the copyright message doesn't have to be printed for every module in the docs -fix FindKorundom.cmake, it didn't follow the style guide and had typos (e.g. Korumdum_FOUND instead of KORUNDUM_FOUND) Alex (will commit modified FindKDE4Internal.cmake after Christians commit) svn path=/trunk/KDE/kdelibs/; revision=776742
2007-12-14few fixes i had lying here:Pino Toscano
- fix the usb detrction once again - take into account the include dirs got from pkg-config when looking for usb.h - show the library (not the include path) when showing the "libsub found" message svn path=/trunk/KDE/kdelibs/; revision=748534
2007-12-13fix libusb detectionPino Toscano
svn path=/trunk/KDE/kdelibs/; revision=748049
2007-12-05don't set libs from the cacheAllen Winter
svn path=/trunk/KDE/kdelibs/; revision=745168
2007-08-26Use FIND_PACKAGE_HANDLE_STANDARD_ARGSLaurent Montel
svn path=/trunk/KDE/kdelibs/; revision=704860
2007-08-07fix typo found by pinoLaurent Montel
svn path=/trunk/KDE/kdelibs/; revision=697289
2006-11-30-proper indentingAlexander Neundorf
-fix typo: USB_FIND_QUIETLY -remove now-unnecessary standard unix search paths Alex svn path=/trunk/KDE/kdelibs/; revision=609436
2006-11-20Don't try to use pkg-config under WindowsLaurent Montel
svn path=/trunk/KDE/kdelibs/; revision=606389
2006-09-09added copyright notice everywhere.Alexander Neundorf
Now they all are BSD-licensed, as copyright holder I inserted everywhere the one who added it to svn (or Kitware if it is an enhanced copy from taken cmake) Some developers committed quite often but were not the ones who added the file, if you feel you have also copyright on the file add your name in the specific file. Copyright holders: CCMAIL: montel@kde.org CCMAIL: toscano.pino@tiscali.it CCMAIL: adymo@kdevelop.org CCMAIL: ranger@befunk.com CCMAIL: zack@kde.org CCMAIL: caslav.ilic@gmx.net CCMAIL: syntheticpp@yahoo.com CCMAIL: js@iidea.pl CCMAIL: michael.larouche@kdemail.net CCMAIL: ossi@kde.org CCMAIL: faure@kde.org Committers, but no files added so that they are not listed as copyright holders: CCMAIL: ch.ehrlicher@gmx.de CCMAIL: winter@kde.org CCMAIL: ralf.habacker@freenet.de CCMAIL: moura@kdewebdev.org CCMAIL: kde-buildsystem@kde.org Alex svn path=/trunk/KDE/kdelibs/; revision=582410
2006-05-30Move cmake duplicate check here:Laurent Montel
-> FindTagLib: need by kdemultimedia/amarok -> FindPostgreSQL: need by koffice-kexi/amarok -> FindMySQL: need by koffice-kexi/amarok -> FindMusicBrainz: need by amarok/kdemultimedia -> FindUSB: need by kdebase/amarok -> FindBerkeleyDB: need by kbabel/kdevelop -> FindRUBY: need by koffice-kross/amarok I will remove them from kde module after new snapshot (next monday) svn path=/trunk/KDE/kdelibs/; revision=546487