mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-24 16:19:00 +08:00
14 lines
703 B
Diff
14 lines
703 B
Diff
diff --git a/src/cmake/Config.cmake.in b/src/cmake/Config.cmake.in
|
|
index 08401a2..4f2694e 100644
|
|
--- a/src/cmake/Config.cmake.in
|
|
+++ b/src/cmake/Config.cmake.in
|
|
@@ -24,6 +24,8 @@ if (NOT @OPENIMAGEIO_CONFIG_DO_NOT_FIND_IMATH@ AND NOT OPENIMAGEIO_CONFIG_DO_NOT
|
|
if (@OpenEXR_VERSION@ VERSION_GREATER_EQUAL 3.0)
|
|
find_dependency(Imath @Imath_VERSION@
|
|
HINTS @Imath_DIR@)
|
|
+ find_dependency(OpenEXR @OpenEXR_VERSION@
|
|
+ HINTS @OpenEXR_DIR@)
|
|
elseif (@OpenEXR_VERSION@ VERSION_GREATER_EQUAL 2.4 AND @FOUND_OPENEXR_WITH_CONFIG@)
|
|
find_dependency(IlmBase @OpenEXR_VERSION@
|
|
HINTS @IlmBase_DIR@ @OpenEXR_DIR@)
|