-
Notifications
You must be signed in to change notification settings - Fork 354
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build(deps): Raise Imath minimum to 3.1 (#1853)
Cull a whole lot of things that were necessarily only for older Imath/OpenEXR. Signed-off-by: Larry Gritz <[email protected]>
- Loading branch information
Showing
27 changed files
with
85 additions
and
8,522 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
# Copyright Contributors to the Open Shading Language project. | ||
# SPDX-License-Identifier: BSD-3-Clause | ||
# https://github.com/AcademySoftwareFoundation/OpenShadingLanguage | ||
|
||
# Module to find Imath. | ||
# | ||
# For Imath 3.x, this will establish the following imported | ||
# targets: | ||
# | ||
# Imath::Imath | ||
# Imath::Half | ||
# | ||
# and sets the following CMake variables: | ||
# | ||
# IMATH_FOUND true, if found | ||
# IMATH_VERSION Imath version | ||
# IMATH_INCLUDES directory where Imath headers are found | ||
# | ||
|
||
# First, try to fine just the right config files | ||
find_package(Imath CONFIG) | ||
|
||
if (TARGET Imath::Imath) | ||
# Imath 3.x if both of these targets are found | ||
if (NOT Imath_FIND_QUIETLY) | ||
message (STATUS "Found CONFIG for Imath 3 (Imath_VERSION=${Imath_VERSION})") | ||
endif () | ||
|
||
# Mimic old style variables | ||
set (IMATH_VERSION ${Imath_VERSION}) | ||
get_target_property(IMATH_INCLUDES Imath::Imath INTERFACE_INCLUDE_DIRECTORIES) | ||
get_target_property(IMATH_LIBRARY Imath::Imath INTERFACE_LINK_LIBRARIES) | ||
set (IMATH_LIBRARIES ${IMATH_LIBRARY}) | ||
set (IMATH_FOUND true) | ||
|
||
endif () |
Oops, something went wrong.