libtiff working on linux & cmake again.

This commit is contained in:
2010-05-21 04:23:33 +00:00
parent 2be851c966
commit 418f1fcba8
2 changed files with 18 additions and 9 deletions

View File

@@ -28,12 +28,16 @@ FILE(GLOB SRC intern/*.c)
SET(INC
. ../makesdna ../../../intern/guardedalloc ../../../intern/memutil ../blenlib
../avi ../blenkernel
.
../makesdna
../../../intern/guardedalloc
../../../intern/memutil
../blenlib
../avi
../blenkernel
${JPEG_INC}
${PNG_INC}
${ZLIB_INC}
${OPENJPEG_INC}
)
IF(WIN32)
@@ -45,11 +49,12 @@ IF(WITH_OPENEXR)
ENDIF(WITH_OPENEXR)
IF(WITH_TIFF)
SET(INC ${INC} ${TIFF_INC})
SET(INC ${INC} ${TIFF_INCLUDE_DIR})
ADD_DEFINITIONS(-DWITH_TIFF)
ENDIF(WITH_TIFF)
IF(WITH_OPENJPEG)
SET(INC ${INC} ${OPENJPEG_INC})
ADD_DEFINITIONS(-DWITH_OPENJPEG)
ENDIF(WITH_OPENJPEG)