aboutsummaryrefslogtreecommitdiff
path: root/modules/CMakeParseArguments.cmake
AgeCommit message (Collapse)Author
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-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