summaryrefslogtreecommitdiff
path: root/thirdparty/libtiff
diff options
context:
space:
mode:
authorMathieu Malaterre <mathieu.malaterre@gmail.com>2012-03-17 14:51:40 +0000
committerMathieu Malaterre <mathieu.malaterre@gmail.com>2012-03-17 14:51:40 +0000
commit7539577b46fff617ab99c4f4fcbbc788387d94f1 (patch)
tree1e236ead96e3cdd36e7d7c5ca3bfd60f8574f746 /thirdparty/libtiff
parent41ee6006c48818885d2a84f773f77d25d473a369 (diff)
[trunk] Fix compilation when zlib.h is in user specified directory.
Diffstat (limited to 'thirdparty/libtiff')
-rw-r--r--thirdparty/libtiff/CMakeLists.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/thirdparty/libtiff/CMakeLists.txt b/thirdparty/libtiff/CMakeLists.txt
index b6b22a49..efc86141 100644
--- a/thirdparty/libtiff/CMakeLists.txt
+++ b/thirdparty/libtiff/CMakeLists.txt
@@ -77,6 +77,9 @@ if(HAVE_JPEGLIB_H)
set(JPEG_SUPPORT 1)
endif()
if(HAVE_ZLIB_H)
+ include_directories(
+ ${ZLIB_INCLUDE_DIR}
+ )
set(ZIP_SUPPORT 1)
set(PIXARLOG_SUPPORT 1) # require zlib
endif()