aboutsummaryrefslogtreecommitdiff
path: root/modules/FindPackageHandleStandardArgs.cmake
AgeCommit message (Collapse)Author
2011-06-30Move the modules, modules-test and systeminfo subdirs into 'attic'Allen Winter
2010-11-07-remove the include guards again, they might keep us from including our own ↵Alexander Neundorf
version, if first our version has been loaded (mark as loaded), then the one from cmake (with potentially different behaviour), and then again our version (not loaded because the first one has already marked the file as included) Alex svn path=/trunk/KDE/kdelibs/; revision=1193960
2010-09-27-include the required version number in the details string, so the message ↵Alexander Neundorf
is printed again also if the required version is changed Alex svn path=/trunk/KDE/kdelibs/; revision=1180380
2010-09-26-add an include guard at the top, to avoid parsing this file again and againAlexander Neundorf
Alex svn path=/trunk/KDE/kdelibs/; revision=1179967
2010-08-25-sync FindPackageHandleStandardArgs.cmake with the version from cmake ↵Alexander Neundorf
master, in order to stay compatible with future cmake releases. Our FindPackageHandleStandardArgs.cmake had automatic check for the version number by guessing the name of the variable which contains the version number. This didn't make it into cmake, but instead an extendible version where you can specify what you want. FindEigen2.cmake is already converted, it looks like this: find_package_handle_standard_args(Eigen2 REQUIRED_VARS EIGEN2_INCLUDE_DIR VERSION_VAR EIGEN2_VERSION) Additionally a FAIL_MESSAGE can be specified. VERSION_VAR is optional. This must be merged in the 4.5. branch if we don't find any issues. Alex CCMAIL: kde-buildsystem@kde.org svn path=/trunk/KDE/kdelibs/; revision=1167973
2010-05-05Fix FindPackageHandleStandardArgs.cmake for cmake's config-mode.Andreas Pakulat
When using the Config-Mode with a -version-file then cmake automatically sets the <module>_VERSION variable, but it uses the mixed-case that is used as module name. The logic in this file so far however always expected the version variable to be all upper-case breaking the logic when using it in a simplified FindXxx.cmake module. This happened to kdevplatform/kdevelop. svn path=/trunk/KDE/kdelibs/; revision=1123271
2010-03-14-add warning message if the version is unknown but a minimum version was ↵Alexander Neundorf
specified Alex svn path=/trunk/KDE/kdelibs/; revision=1103373
2010-03-14-fix breakage, ignore those modules which don't set a FOO_VERSION variable ↵Alexander Neundorf
for now Alex svn path=/trunk/KDE/kdelibs/; revision=1103360
2010-03-14-add a copy of FindPackageHandleStandardArgs, which adds checking the ↵Alexander Neundorf
version numbers, so you get this automatically in all modules which use find_package_handle_standard_args() Alex svn path=/trunk/KDE/kdelibs/; revision=1103184
2008-08-11potential_problems was just a remnant of early cmake portingAlexander Neundorf
FindPackageHandleStandardArgs.cmake now comes with cmake, so we don't need our pwn copy here anymore Alex svn path=/trunk/KDE/kdelibs/; revision=845538
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-23a little nicer default message.Allen Winter
svn path=/trunk/KDE/kdelibs/; revision=703857
2007-08-06SVN_SILENT: typoLaurent Montel
svn path=/trunk/KDE/kdelibs/; revision=697054
2007-08-03-add FindPackageHandleStandardArgs.cmake from cmake cvs, which adds a macro ↵Alexander Neundorf
for handling the QUIETLY and REQUIRED arguments for FIND_PACKAGE() and which sets the foo_FOUND variable if all additional variables are TRUE -use this new macro in FindStrigi. -put the successful query of pkgfconfig for the strigi version in the cache, so it doesn't have to do it again the next time -if pkgconfig doesn't find strigi at all, print a warning message but don't fail Alex svn path=/trunk/KDE/kdelibs/; revision=695818