[trunk] Fix compilation when zlib.h is in user specified directory.

This commit is contained in:
Mathieu Malaterre 2012-03-17 14:51:40 +00:00
parent 41ee6006c4
commit 7539577b46
1 changed files with 3 additions and 0 deletions

View File

@ -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()