Skip to content

Commit

Permalink
Fix break of OpenEXRConfig.h generation after PR 1025 (AcademySoftwar…
Browse files Browse the repository at this point in the history
…eFoundation#1028)

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.

Signed-off-by: Larry Gritz <lg@larrygritz.com>
  • Loading branch information
lgritz authored and cary-ilm committed May 29, 2021
1 parent 98f9a36 commit 0c93f0a
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions cmake/OpenEXRConfig.h.in
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,12 @@
#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@"

Expand Down

0 comments on commit 0c93f0a

Please sign in to comment.