• Brad King's avatar
    Export: Fix internal CMake version test logic · 9bcc1b21
    Brad King authored
    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.
    9bcc1b21
cmExportInstallFileGenerator.cxx 18.6 KB