void-packages/srcpkgs/darktable/patches/find-openexr-2.4.patch

24 lines
1006 B
Diff

--- cmake/modules/FindOpenEXR.cmake 2019-12-09 11:18:24.529805119 +0100
+++ cmake/modules/FindOpenEXR.cmake 2019-12-09 11:19:28.634808426 +0100
@@ -26,16 +26,16 @@
set(OPENEXR_LIB_DIR ${_OPENEXR_LIB_DIR})
mark_as_advanced(OPENEXR_LIB_DIR)
-find_library(_OPENEXR_LIBRARY_IMIMF IlmImf
+find_library(_OPENEXR_LIBRARY_IMIMF IlmImf-2_4
HINTS ENV OPENEXR_LIB_DIR)
set (OPENEXR_LIBRARY ${OPENEXR_LIBRARY} ${_OPENEXR_LIBRARY_IMIMF})
-find_library(_OPENEXR_LIBRARY_IMATH Imath
+find_library(_OPENEXR_LIBRARY_IMATH Imath-2_4
HINTS ENV OPENEXR_LIB_DIR)
set (OPENEXR_LIBRARY ${OPENEXR_LIBRARY} ${_OPENEXR_LIBRARY_IMATH})
-find_library(_OPENEXR_LIBRARY_IEX Iex
+find_library(_OPENEXR_LIBRARY_IEX Iex-2_4
HINTS ENV OPENEXR_LIB_DIR)
set (OPENEXR_LIBRARY ${OPENEXR_LIBRARY} ${_OPENEXR_LIBRARY_IEX})
-find_library(_OPENEXR_LIBRARY_ILMTHREAD IlmThread
+find_library(_OPENEXR_LIBRARY_ILMTHREAD IlmThread-2_4
HINTS ENV OPENEXR_LIB_DIR)
set (OPENEXR_LIBRARY ${OPENEXR_LIBRARY} ${_OPENEXR_LIBRARY_ILMTHREAD})