summaryrefslogtreecommitdiffstats
path: root/Modules/CMakeFindDependencyMacro.cmake
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2014-02-10 16:50:54 (GMT)
committerBrad King <brad.king@kitware.com>2014-02-10 20:32:33 (GMT)
commit9bcc1b21f05a8f522c5154e163942c6d133bb379 (patch)
tree4c1f8e58882959ee91bf8c0ad93c58a54e5be9fb /Modules/CMakeFindDependencyMacro.cmake
parentd2059d25114b53c1e7531704b3e955c6853a355e (diff)
downloadCMake-9bcc1b21f05a8f522c5154e163942c6d133bb379.zip
CMake-9bcc1b21f05a8f522c5154e163942c6d133bb379.tar.gz
CMake-9bcc1b21f05a8f522c5154e163942c6d133bb379.tar.bz2
Export: Fix internal CMake version test logic
Fix the internal DEVEL_CMAKE_VERSION macro to use CMake_VERSION_ENCODE to compare version component-wise. Otherwise an old invocation of the macro may be tricked into using the current version when the requested major version is smaller than the current version but the requested minor version is larger. It should use the requested (old) version in that case.
Diffstat (limited to 'Modules/CMakeFindDependencyMacro.cmake')
0 files changed, 0 insertions, 0 deletions