[CMake] CMakePackageConfigHelpers.cmake support "Sematic Versioning"?

Brad King brad.king at kitware.com
Tue Dec 9 08:12:46 EST 2014


On 12/8/2014 10:05 PM, Bartlett, Roscoe A. wrote:
> The problem with the current implementation of
> CMakePackageConfigHelpers.cmake is that it does not have a mode where X
> in X.Y.Z defines a backward compatible set.

It has a "SameMajorVersion" mode which is close, but IIUC a
"SemanticVersion" mode would be "SameMajorVersion" for the
major version component and "AnyNewerVersion" for the minor
component and beyond.  Is that correct?

-Brad


More information about the CMake mailing list