mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-27 18:31:15 +08:00
[openexr] package fix (#37408)
This commit is contained in:
parent
8998330613
commit
00b483825c
21
ports/openexr/fix-cmake-package.patch
Normal file
21
ports/openexr/fix-cmake-package.patch
Normal file
@ -0,0 +1,21 @@
|
||||
diff --git a/cmake/OpenEXRConfig.cmake.in b/cmake/OpenEXRConfig.cmake.in
|
||||
index fbb98c0a..37073a69 100644
|
||||
--- a/cmake/OpenEXRConfig.cmake.in
|
||||
+++ b/cmake/OpenEXRConfig.cmake.in
|
||||
@@ -8,11 +8,12 @@ include(CMakeFindDependencyMacro)
|
||||
set(openexr_needthreads @OPENEXR_ENABLE_THREADING@)
|
||||
if (openexr_needthreads)
|
||||
set(THREADS_PREFER_PTHREAD_FLAG ON)
|
||||
- find_dependency(Threads REQUIRED)
|
||||
+ find_dependency(Threads)
|
||||
endif()
|
||||
unset(openexr_needthreads)
|
||||
|
||||
-find_dependency(Imath REQUIRED)
|
||||
+find_dependency(Imath)
|
||||
+find_dependency(libdeflate)
|
||||
|
||||
include("${CMAKE_CURRENT_LIST_DIR}/@PROJECT_NAME@Targets.cmake")
|
||||
check_required_components("@PROJECT_NAME@")
|
||||
|
||||
|
@ -4,6 +4,8 @@ vcpkg_from_github(
|
||||
REF "v${VERSION}"
|
||||
SHA512 6e0a6fdcfae57c6e8b060d9aeed57140d96d39bffe5e40edd6ea5beb06e569323833d07906316ffca05f48e8409d0ea4174e2cd84d554404a4ee432e07d7b5e6
|
||||
HEAD_REF main
|
||||
PATCHES
|
||||
fix-cmake-package.patch # https://github.com/AcademySoftwareFoundation/openexr/pull/1674
|
||||
)
|
||||
|
||||
vcpkg_check_features(OUT_FEATURE_OPTIONS OPTIONS
|
||||
|
@ -1,6 +1,7 @@
|
||||
{
|
||||
"name": "openexr",
|
||||
"version": "3.2.3",
|
||||
"port-version": 1,
|
||||
"description": "OpenEXR is a high dynamic-range (HDR) image file format developed by Industrial Light & Magic for use in computer imaging applications",
|
||||
"homepage": "https://www.openexr.com/",
|
||||
"license": "BSD-3-Clause",
|
||||
|
@ -6406,7 +6406,7 @@
|
||||
},
|
||||
"openexr": {
|
||||
"baseline": "3.2.3",
|
||||
"port-version": 0
|
||||
"port-version": 1
|
||||
},
|
||||
"openfbx": {
|
||||
"baseline": "2022-07-18",
|
||||
|
@ -1,5 +1,10 @@
|
||||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "99e1e8599b1c2601a39f94b511b623ac51878793",
|
||||
"version": "3.2.3",
|
||||
"port-version": 1
|
||||
},
|
||||
{
|
||||
"git-tree": "ccd582f25f0177e879cd408487d541865569dd3a",
|
||||
"version": "3.2.3",
|
||||
|
Loading…
x
Reference in New Issue
Block a user