Skip to content

Commit

Permalink
More robust openexr_version.h handling (#1398)
Browse files Browse the repository at this point in the history
Signed-off-by: Nick Porcino <meshula@hotmail.com>
  • Loading branch information
meshula authored Apr 29, 2023
1 parent 8c1fde8 commit 1f7de5a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cmake/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ endif()
configure_file(OpenEXRConfig.h.in ${CMAKE_CURRENT_BINARY_DIR}/OpenEXRConfig.h)
configure_file(OpenEXRConfigInternal.h.in ${CMAKE_CURRENT_BINARY_DIR}/OpenEXRConfigInternal.h)
# make a temp copy in the binary dir for OpenEXRConfig.h to include
configure_file(../src/lib/OpenEXRCore/openexr_version.h ${CMAKE_CURRENT_BINARY_DIR}/openexr_version.h COPYONLY)
configure_file(../src/lib/OpenEXRCore/openexr_version.h ${CMAKE_CURRENT_BINARY_DIR}/OpenEXRCore/openexr_version.h COPYONLY)

if(OPENEXR_INSTALL)
install(
Expand Down
2 changes: 1 addition & 1 deletion cmake/OpenEXRConfig.h.in
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

#pragma once

#include <openexr_version.h>
#include <OpenEXRCore/openexr_version.h>

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

0 comments on commit 1f7de5a

Please sign in to comment.