From 7539577b46fff617ab99c4f4fcbbc788387d94f1 Mon Sep 17 00:00:00 2001 From: Mathieu Malaterre Date: Sat, 17 Mar 2012 14:51:40 +0000 Subject: [PATCH] [trunk] Fix compilation when zlib.h is in user specified directory. --- thirdparty/libtiff/CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) 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()