From c7daffbaf08d3effb4cb33efa94e7b71cbe7bfd5 Mon Sep 17 00:00:00 2001
From: Alexey Pavlov <alexpux@gmail.com>
Date: Thu, 2 Feb 2017 09:40:47 +0300
Subject: [PATCH 3/6] Search openexr includes also in subfolder

---
 DevIL/src-IL/cmake/FindOpenEXR.cmake | 1 +
 1 file changed, 1 insertion(+)

diff --git a/DevIL/src-IL/cmake/FindOpenEXR.cmake b/DevIL/src-IL/cmake/FindOpenEXR.cmake
index 3718d989..2525d2dd 100644
--- a/DevIL/src-IL/cmake/FindOpenEXR.cmake
+++ b/DevIL/src-IL/cmake/FindOpenEXR.cmake
@@ -11,6 +11,7 @@
 
 
 FIND_PATH(OPENEXR_INCLUDE_DIR ImfIO.h
+    $ENV{OPENEXR_DIR}/include/OpenEXR
     $ENV{OPENEXR_DIR}/include
     $ENV{OPENEXR_DIR}
     ~/Library/Frameworks
-- 
2.11.0

