Fix break of OpenEXRConfig.h generation after PR 1025
Ugh, we changed CMake variable names OPENEXR_VERSION_MAJOR ->
OpenEXR_VERSION_MAJOR, et al., but forgot that the old names were
used in OpenEXRConfig.h.in.
#define OPENEXR_VERSION_STRING "@OPENEXR_VERSION@"
#define OPENEXR_PACKAGE_STRING "@OPENEXR_PACKAGE_NAME@"
-#define OPENEXR_VERSION_MAJOR @OPENEXR_VERSION_MAJOR@
-#define OPENEXR_VERSION_MINOR @OPENEXR_VERSION_MINOR@
-#define OPENEXR_VERSION_PATCH @OPENEXR_VERSION_PATCH@
-#define OPENEXR_VERSION_EXTRA "@OPENEXR_VERSION_EXTRA@"
+#define OPENEXR_VERSION_MAJOR @OpenEXR_VERSION_MAJOR@
+#define OPENEXR_VERSION_MINOR @OpenEXR_VERSION_MINOR@
+#define OPENEXR_VERSION_PATCH @OpenEXR_VERSION_PATCH@
+#define OPENEXR_VERSION_RELEASE_TYPE "@OPENEXR_VERSION_RELEASE_TYPE@"
+// Deprecated, for back compatibility:
+#define OPENEXR_VERSION_EXTRA "@OPENEXR_VERSION_RELEASE_TYPE@"
#define OPENEXR_LIB_VERSION_STRING "@OPENEXR_LIB_VERSION@"
