diff options
author | Alexander Neundorf <neundorf@kde.org> | 2010-08-25 20:06:48 +0000 |
---|---|---|
committer | Alexander Neundorf <neundorf@kde.org> | 2010-08-25 20:06:48 +0000 |
commit | 13878c79535651b151b80526f6052904c4189023 (patch) | |
tree | 37c0761e791bb2c571a6e4e76766cba6fc84dfa1 /modules/MacroWriteBasicCMakeVersionFile.cmake | |
parent | 4051cfa096f4fa11e6cea0950970e741140cdd0d (diff) | |
download | extra-cmake-modules-13878c79535651b151b80526f6052904c4189023.tar.gz extra-cmake-modules-13878c79535651b151b80526f6052904c4189023.tar.bz2 |
-sync FindPackageHandleStandardArgs.cmake with the version from cmake 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
Diffstat (limited to 'modules/MacroWriteBasicCMakeVersionFile.cmake')
0 files changed, 0 insertions, 0 deletions