Skip to content

Commit

Permalink
Fix version h (#1399)
Browse files Browse the repository at this point in the history
* More robust openexr_version.h handling
* hardcode versions for now until the vagaries of Bazel and linux install scripts can be sorted out

Signed-off-by: Nick Porcino <[email protected]>
  • Loading branch information
meshula authored Apr 29, 2023
1 parent 1f7de5a commit d2460f0
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion cmake/OpenEXRConfig.h.in
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,14 @@

#pragma once

#include <OpenEXRCore/openexr_version.h>
/// @TODO get the version from the header files.
/// due to the structure of the cmake configuration steps,
/// it's not obvious how to structure things for this to work.
/// so for now, just hardcode the version here.
//#include <OpenEXRCore/openexr_version.h>
#define OPENEXR_VERSION_MAJOR 3
#define OPENEXR_VERSION_MINOR 2
#define OPENEXR_VERSION_PATCH 0

//
// Options / configuration based on O.S. / compiler
Expand Down

0 comments on commit d2460f0

Please sign in to comment.