void-packages/srcpkgs/luxrays/patches/openexr-2_4.patch

12 lines
402 B
Diff

--- cmake/Packages/FindOpenEXR.cmake
+++ cmake/Packages/FindOpenEXR.cmake
@@ -68,7 +68,7 @@
ENDFOREACH(i)
ENDIF(OPENEXR_INCLUDE_DIRS)
-SET(OpenEXR_LIBRARY_MODULES Iex IlmImf Half Imath IlmThread)
+SET(OpenEXR_LIBRARY_MODULES Iex-2_4 IlmImf-2_4 Half-2_4 Imath-2_4 IlmThread-2_4)
SET(OpenEXR_LIB_SUFFIXES lib64 lib Lib lib/OpenEXR Libs)
SET(OpenEXR_LIB_SUFFIXES_REL)
SET(OpenEXR_LIB_SUFFIXES_DBG)