blob: 3a6e1ef556f308233648bce46c64b368cf8333a8 [file] [log] [blame] [edit]
From c0a1b5151c1ad4494440603f7051f6150bfa91f1 Mon Sep 17 00:00:00 2001
From: Alexey Pavlov <alexpux@gmail.com>
Date: Thu, 2 Feb 2017 09:38:14 +0300
Subject: [PATCH 2/6] FindOpenEXR cmake module define OPENEXR_INCLUDE_DIR not
OPENEXR_INCLUDE_DIRS
---
DevIL/src-IL/CMakeLists.txt | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/DevIL/src-IL/CMakeLists.txt b/DevIL/src-IL/CMakeLists.txt
index 2547a81b..b47d2b0d 100644
--- a/DevIL/src-IL/CMakeLists.txt
+++ b/DevIL/src-IL/CMakeLists.txt
@@ -266,7 +266,7 @@ if(NOT IL_NO_LCMS)
endif(NOT IL_NO_LCMS)
if(NOT IL_NO_EXR)
- list(APPEND incs ${OPENEXR_INCLUDE_DIRS} )
+ list(APPEND incs ${OPENEXR_INCLUDE_DIR} )
list(APPEND libs ${OPENEXR_LIBRARIES} )
endif(NOT IL_NO_EXR)
--
2.11.0