summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--DevIL/src-IL/CMakeLists.txt2
-rw-r--r--DevIL/src-IL/src/il_profiles.cpp6
2 files changed, 4 insertions, 4 deletions
diff --git a/DevIL/src-IL/CMakeLists.txt b/DevIL/src-IL/CMakeLists.txt
index ac710905..1d521c38 100644
--- a/DevIL/src-IL/CMakeLists.txt
+++ b/DevIL/src-IL/CMakeLists.txt
@@ -129,7 +129,7 @@ endif(MNG_FOUND)
if(LCMS2_FOUND)
option(IL_NO_LCMS "Disable LCMS support (Little CMS)" 0)
#TODO: be more clever about lcms include... it smells wrong.
- #option(LCMS_NODIRINCLUDE "Include lcms.h instead of lcms/lcms.h" 1)
+ option(LCMS_NODIRINCLUDE "Include lcms.h instead of lcms/lcms.h" 1)
else(LCMS2_FOUND)
set(IL_NO_LCMS 1)
endif(LCMS2_FOUND)
diff --git a/DevIL/src-IL/src/il_profiles.cpp b/DevIL/src-IL/src/il_profiles.cpp
index 606c1faa..695f9a2c 100644
--- a/DevIL/src-IL/src/il_profiles.cpp
+++ b/DevIL/src-IL/src/il_profiles.cpp
@@ -20,12 +20,12 @@
#if (!defined(_WIN32) && !defined(_WIN64))
#define NON_WINDOWS 1
- #ifdef LCMS_NODIRINCLUDE
+ /*#ifdef LCMS_NODIRINCLUDE
#include <lcms.h>
#else
#include <lcms/lcms.h>
- #endif
-
+ #endif*/
+ #include <lcms2.h>
#else
#if defined(IL_USE_PRAGMA_LIBS)
#if defined(_MSC_VER) || defined(__BORLANDC__)