Export: Use a macro to ensure minimum development version requirement

Use the version number of the specified release, or of the current
development version if the release is not yet made.
Merge topic 'cmake-devel-version-macro' into next

eaf703f1 Export: Use a macro to ensure minimum development version requirement