vcpkg/ports/openimageio/fix-dependency-libraw.patch
Jack·Boos·Yu 94a48a4e09
[openimageio] Fix dependency libraw (#38071)
- [x] Changes comply with the [maintainer
guide](https://github.com/microsoft/vcpkg-docs/blob/main/vcpkg/contributing/maintainer-guide.md).
- [ ] SHA512s are updated for each updated download.
- [ ] The "supports" clause reflects platforms that may be fixed by this
new version.
- [x] Any fixed [CI
baseline](https://github.com/microsoft/vcpkg/blob/master/scripts/ci.baseline.txt)
entries are removed from that file.
- [x] Any patches that are no longer applied are deleted from the port's
directory.
- [x] The version database is fixed by rerunning `./vcpkg x-add-version
--all` and committing the result.
- [x] Only one version is added to each modified port's versions file.

Fixes https://github.com/microsoft/vcpkg/issues/38065

---------

Co-authored-by: jyu49 <yu_jack@apple.com>
Co-authored-by: Cheney-Wang <850426846@qq.com>
2024-04-11 10:03:03 -04:00

15 lines
484 B
Diff

diff --git a/src/cmake/Config.cmake.in b/src/cmake/Config.cmake.in
index 4aee211..fa71d86 100644
--- a/src/cmake/Config.cmake.in
+++ b/src/cmake/Config.cmake.in
@@ -25,6 +25,9 @@ endif()
if(@USE_WEBP@)
find_dependency(WebP CONFIG)
endif()
+if(@USE_LIBRAW@)
+ find_dependency(LibRaw)
+endif()
# add here all the find_dependency() whenever switching to config based dependencies
if (NOT @OPENIMAGEIO_CONFIG_DO_NOT_FIND_IMATH@ AND NOT OPENIMAGEIO_CONFIG_DO_NOT_FIND_IMATH)