summaryrefslogtreecommitdiff
path: root/graphics/luminance-qt5/files/patch-build__files_Modules_FindOpenEXR.cmake
blob: a6e21e9799d8747e0153ad7b572d05e369ac9bac (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
--- build_files/Modules/FindOpenEXR.cmake.orig	2017-05-10 19:14:06 UTC
+++ build_files/Modules/FindOpenEXR.cmake
@@ -39,18 +39,16 @@ if (NOT OPENEXR_VERSION)
 endif()
 if (${OPENEXR_VERSION} VERSION_LESS "2.1")
   SET(_openexr_FIND_COMPONENTS
-    Half
     Iex
-    IlmImf
+    OpenEXR
     IlmThread
     Imath
   )
 else ()
   string(REGEX REPLACE "([0-9]+)[.]([0-9]+).*" "\\1_\\2" _openexr_libs_ver ${OPENEXR_VERSION})
   SET(_openexr_FIND_COMPONENTS
-    Half
+    OpenEXR-${_openexr_libs_ver}
     Iex-${_openexr_libs_ver}
-    IlmImf-${_openexr_libs_ver}
     IlmThread-${_openexr_libs_ver}
     Imath-${_openexr_libs_ver}
   )