aboutsummaryrefslogtreecommitdiff
path: root/modules/FindLibArt.cmake
AgeCommit message (Collapse)Author
2011-06-30Move the modules, modules-test and systeminfo subdirs into 'attic'Allen Winter
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-18-use the prefix PC_ for the variables coming from pkgconfig Alexander Neundorf
(these three modules were working correctly, this is just to establish a convention how to deal with this) Alex svn path=/trunk/KDE/kdelibs/; revision=886256
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-08-06Remove not necessary pathLaurent Montel
svn path=/trunk/KDE/kdelibs/; revision=697062
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-11Remove my CACHED_ hacks which break when people install libxml2 after seeing ↵David Faure
the error message about it - only use the cache when the check was previously successful, as discussed. svn path=/trunk/KDE/kdelibs/; revision=539759
2006-04-20OK so FIND_PATH and FIND_LIBRARIES use the cache already, so no need for the ↵David Faure
CACHED_FOO fast-path when the check only uses those. Instead I used this, to avoid "Found libfoo" in the output when in fact we didn't just look for it, we had it in the cache. +if (TIFF_INCLUDE_DIR) + # Already in cache, be silent + set(TIFF_FIND_QUIETLY TRUE) +endif (TIFF_INCLUDE_DIR) CACHED_FOO remains for the cases where there is more logic to the configure check, like PKGCONFIG, foo-config, or CHECK_LIBRARY_EXISTS (e.g. bzip2) CCMAIL: kde-buildsystem@kde.org svn path=/trunk/KDE/kdelibs/; revision=531839
2006-04-18More use of the cache; fixing previous commit to not recheck everytime when ↵David Faure
something isn't available (e.g. agg for me). svn path=/trunk/KDE/kdelibs/; revision=531000
2006-04-14Actually use the cache whenever possible. Should speed up the re-configuring ↵David Faure
that happens so often. svn path=/trunk/KDE/kdelibs/; revision=529759
2006-04-08optimized gnuwin32 detection on windowsRalf Habacker
- find gnuwin32 package location very early - removed GNUWIN32_INCLUDE_DIR/GNUWIN32_LIBRARY_DIR macros, because FindGNUWIN32.cmake sets now CMAKE_INCLUDE_PATH and CMAKE_LIBRARY_PATH - don't use pkgconfig on windows svn path=/trunk/KDE/kdelibs/; revision=527634
2006-03-20minor cleanups: indenting, adding newline to end of file, etc.Allen Winter
svn path=/trunk/KDE/kdelibs/; revision=520790
2006-02-15Hmm, "NOT" can't be lowercased. I tested before lowercasing that last one, ↵David Faure
of course... svn path=/trunk/KDE/kdelibs/; revision=509625
2006-02-15Lowercase some common keywords to improve readabilityDavid Faure
svn path=/trunk/KDE/kdelibs/; revision=509624
2006-02-12-moved the cmake code to find kdewin32 out of FindKDE4.cmake and into its ↵Alexander Neundorf
own FindKDEWIN32.cmake file -added a new FindGNUWIN32.cmake file, which tries to find the gnuwin32 base directory -changed all "FOO_LIBRARY" variable names to "FOO_LIBRARIES" to be more consistent with the other cmake modules -added a macro_getenv_win_path() which replaces all backslahes with slashes from environment variables -modified the kde4_add_kcfg_files() command, so that the generated header is also processed by moc -all tests compile and link Alex CCMAIL:kde-buildsystem@kde.org The changes to the windows stuff are untested, since I don't have a windows box. Please check that everything still works. Please have a look at FindGNUWIN32.cmake, there are probably ways to improve this. The resulting GNUWIN32_DIR variable is used in other cmake modules as default path to search for headers and libraries. svn path=/trunk/KDE/kdelibs/; revision=508648
2006-02-11-changed kde4_create_libtool_file (target dir_relative_to_libdir) Alexander Neundorf
to kde4_install_libtool_file(dir_relative_to_install_prefix target) -added variable KDE4_PLUGIN_INSTALL_DIR, used usually for installing plugins -changed am2cmake accordingly -edited FindLibXml2.cmake and FindLibArt so that they work correctly with CMAKE_INSTALL_PATH -changed generated_findpackage_file accordingly -some minor formatting changes Alex CCMAIL: montel@kde.org svn path=/trunk/KDE/kdelibs/; revision=508458
2006-01-25add the stuff moved from kdesdk, maybe...Alexander Neundorf
Alex svn path=/trunk/KDE/kdelibs/; revision=502383
2006-01-23-fix Foo_FIND_REQUIRED and Foo_FIND_QUIETYL handling:Alexander Neundorf
Alex svn path=/trunk/KDE/kdesdk/cmake/; revision=501687
2006-01-16use the new pkg-config cmake module in the libart moduleAlexander Neundorf
the support for pkg-config was added with a custom cmake module (i.e. script, no editing of C++ sources involved) since somebody asked me, whether pkg-config is supported by cmake, ccmail to the mailinglist CCMAIL: kde-buildsystem@kde.org Alex svn path=/trunk/KDE/kdesdk/cmake/; revision=499066
2006-01-14-simple cmake modules for detecting libart, OpenSSL, FAM, jasper and PCREAlexander Neundorf
-major improvement of am2cmake: add libtool .la files found in LIBADD to TARGET_LINK_LIBRARIES and fix the loop for adding the libs Alex svn path=/trunk/KDE/kdesdk/cmake/; revision=498154