void-packages/srcpkgs/hugin/patches/find-openexr-2_4.patch
2019-12-31 06:43:35 +01:00

47 lines
1.4 KiB
Diff

--- CMakeModules/FindOpenEXR.cmake 2018-07-23 19:34:46.000000000 +0200
+++ CMakeModules/FindOpenEXR.cmake 2019-12-02 16:00:26.781901111 +0100
@@ -35,7 +35,7 @@
include(FindLibraryWithDebug)
find_library_with_debug(OPENEXR_HALF_LIBRARY
WIN32_DEBUG_POSTFIX d
- NAMES Half-2_3 Half
+ NAMES Half-2_4 Half-2_3 Half
PATHS
${_OPENEXRLinkDir}
${SYSTEM_LIB_DIRS}
@@ -45,7 +45,7 @@
find_library_with_debug(OPENEXR_IEX_LIBRARY
WIN32_DEBUG_POSTFIX d
- NAMES Iex-2_3 Iex-2_2 Iex
+ NAMES Iex-2_4 Iex-2_3 Iex-2_2 Iex
PATHS
${_OPENEXRLinkDir}
${SYSTEM_LIB_DIRS}
@@ -55,7 +55,7 @@
find_library_with_debug(OPENEXR_ILMTHREAD_LIBRARY
WIN32_DEBUG_POSTFIX d
- NAMES IlmThread-2_3 IlmThread-2_2 IlmThread
+ NAMES IlmThread-2_4 IlmThread-2_3 IlmThread-2_2 IlmThread
PATHS
${_OPENEXRLinkDir}
${SYSTEM_LIB_DIRS}
@@ -65,7 +65,7 @@
find_library_with_debug(OPENEXR_IMATH_LIBRARY
WIN32_DEBUG_POSTFIX d
- NAMES Imath-2_3 Imath-2_2 Imath
+ NAMES Imath-2_4 Imath-2_3 Imath-2_2 Imath
PATHS
${_OPENEXRLinkDir}
${SYSTEM_LIB_DIRS}
@@ -76,7 +76,7 @@
find_library_with_debug(OPENEXR_ILMIMF_LIBRARY
WIN32_DEBUG_POSTFIX d
- NAMES IlmImf-2_3 IlmImf-2_2 IlmImf
+ NAMES IlmImf-2_4 IlmImf-2_3 IlmImf-2_2 IlmImf
PATHS
${_OPENEXRLinkDir}
${SYSTEM_LIB_DIRS}