added cmake config version file for proper cmake delivery by oleurodecision · Pull Request #934 · open-source-parsers/jsoncpp (original) (raw)

For proper cmake configuration setup, one should also deliver some config-version file. This allows consumers to check for some minimal/required version when importing.

The version compatibility was arbitrarily set to SameMajorVersion, SameMinorVersion or ExactVersion should probably be some smarter choice.

Please let me know if any change is required.