Skip to content

Commit

Permalink
build: No need for OCIO search to use PREFER_CONFIG (AcademySoftwareF…
Browse files Browse the repository at this point in the history
…oundation#4425)

We no longer supply a FindOpenColorIO.cmake, so it makes no difference.
But it was getting in the way of a weird case where a wrapping project
wanted to supply one.

Signed-off-by: Larry Gritz <[email protected]>
Signed-off-by: Zach Lewis <[email protected]>
  • Loading branch information
lgritz authored and zachlewis committed Sep 16, 2024
1 parent b992a6e commit be69456
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/cmake/externalpackages.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,6 @@ checked_find_package (Freetype
checked_find_package (OpenColorIO REQUIRED
VERSION_MIN 2.2
VERSION_MAX 2.9
PREFER_CONFIG
)
if (NOT OPENCOLORIO_INCLUDES)
get_target_property(OPENCOLORIO_INCLUDES OpenColorIO::OpenColorIO INTERFACE_INCLUDE_DIRECTORIES)
Expand Down

0 comments on commit be69456

Please sign in to comment.