Skip to content

Commit

Permalink
build: FindOpenColorIO failed to properly set OpenColorIO_VERSION (Ac…
Browse files Browse the repository at this point in the history
…ademySoftwareFoundation#4196)

... in the OCIO 1.x case where we relied on our own Find module rather
than an exported cmake config from OCIO itself. This is desired for
uniformity of naming with the exported configs of the later versions.

Signed-off-by: Larry Gritz <lg@larrygritz.com>
  • Loading branch information
lgritz committed Mar 28, 2024
1 parent 28eb2e8 commit e3b45a7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/cmake/modules/FindOpenColorIO.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@ find_package_handle_standard_args (OpenColorIO
)

if (OpenColorIO_FOUND)
set (OpenColorIO_VERSION ${OPENCOLORIO_VERSION})
set (OPENCOLORIO_INCLUDES ${OPENCOLORIO_INCLUDE_DIR})
set (OPENCOLORIO_LIBRARIES ${OPENCOLORIO_LIBRARY})
set (OPENCOLORIO_DEFINITIONS "")
Expand Down

0 comments on commit e3b45a7

Please sign in to comment.