diff options
Diffstat (limited to 'CMake/macros.cmake')
-rw-r--r-- | CMake/macros.cmake | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/CMake/macros.cmake b/CMake/macros.cmake index 73458d7312e..54b14dbd5ce 100644 --- a/CMake/macros.cmake +++ b/CMake/macros.cmake @@ -61,6 +61,9 @@ MACRO(SETUP_LIBDIRS) IF(WITH_OPENEXR) LINK_DIRECTORIES(${OPENEXR_LIBPATH}) ENDIF(WITH_OPENEXR) + IF(WITH_TIFF) + LINK_DIRECTORIES(${TIFF_LIBPATH}) + ENDIF(WITH_TIFF) IF(WITH_QUICKTIME) LINK_DIRECTORIES(${QUICKTIME_LIBPATH}) ENDIF(WITH_QUICKTIME) @@ -134,6 +137,9 @@ MACRO(SETUP_LIBLINKS IF(WITH_QUICKTIME) TARGET_LINK_LIBRARIES(${target} ${QUICKTIME_LIB}) ENDIF(WITH_QUICKTIME) + IF(WITH_TIFF) + TARGET_LINK_LIBRARIES(${target} ${TIFF_LIBRARY}) + ENDIF(WITH_TIFF) IF(WITH_OPENEXR) IF(WIN32) FOREACH(loop_var ${OPENEXR_LIB}) |