aboutsummaryrefslogtreecommitdiff
path: root/modules/FindPCRE.cmake
AgeCommit message (Collapse)Author
2011-06-30Move the modules, modules-test and systeminfo subdirs into 'attic'Allen Winter
2010-04-28win32 debug builds uses 'd' suffixRalf Habacker
svn path=/trunk/KDE/kdelibs/; revision=1120015
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-11Change as discussed with AlexLaurent Montel
svn path=/trunk/KDE/kdelibs/; revision=882721
2008-11-10Use FindPkgConfigLaurent Montel
svn path=/trunk/KDE/kdelibs/; revision=882249
2008-07-20FindPCRE.cmake: lowercasingAlexander Neundorf
FindSharedMimeInfo.cmake: document SHARED_MIME_INFO_MINIMUM_VERSION and add a comment about the WORKING_DIRECTORY FindGStreamer.cmake: use FIND_PACKAGE_HANDLE_STANDARD_ARGS() FindExiv2.cmake: lowercasing, document EXIV2_MIN_VERSION FindKDE4Internal.cmake: remove empty lines from documentation block so everything is included again in the generated documentation Alex svn path=/trunk/KDE/kdelibs/; revision=835253
2008-04-14remove CACHE STRING, which can cause problems.Allen Winter
per Brad King. svn path=/trunk/KDE/kdelibs/; revision=797050
2008-04-12Fall back to also asking pkg-config for PCRE.Harri Porten
svn path=/trunk/KDE/kdelibs/; revision=796136
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
2008-01-31Fix problem when pcre is installed after a first configureLaurent Montel
svn path=/trunk/KDE/kdelibs/; revision=769201
2008-01-14Locate PCRE headers if they're in /SOMEINCLUDEDIR/pcreBernhard Rosenkraenzer
svn path=/trunk/KDE/kdelibs/; revision=761293
2007-08-08Look at all variable and not just libs variable which can beLaurent Montel
not empty but some variable can be null svn path=/trunk/KDE/kdelibs/; revision=697674
2007-08-08Use FIND_PACKAGE_HANDLE_STANDARD_ARGSLaurent Montel
svn path=/trunk/KDE/kdelibs/; revision=697619
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-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-09revert last changeRalf Habacker
svn path=/trunk/KDE/kdelibs/; revision=507732
2006-02-09moved KICE_EXPORT definition to kdelibs_export_win.hRalf Habacker
svn path=/trunk/KDE/kdelibs/; revision=507730
2006-01-25add the stuff moved from kdesdk, maybe...Alexander Neundorf
Alex svn path=/trunk/KDE/kdelibs/; revision=502383
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