Skip to content
Snippets Groups Projects
Commit ea205024 authored by Ben Boeckel's avatar Ben Boeckel Committed by Kitware Robot
Browse files

Merge topic 'fix-libtiff-system-zlib'


b9cf8d84 Merge branch 'upstream-tiff' into fix-libtiff-system-zlib
c025ef6a tiff 2016-07-13 (e6e45b2f)

Acked-by: default avatarKitware Robot <kwrobot@kitware.com>
Merge-request: !1692
parents 04c4d688 b9cf8d84
No related branches found
No related tags found
No related merge requests found
......@@ -690,11 +690,6 @@ install(FILES ${CMAKE_CURRENT_BINARY_DIR}/libtiff-4.pc
DESTINATION "${CMAKE_INSTALL_FULL_LIBDIR}/pkgconfig")
endif ()
# XXX(kitware): force vtk settings
set(CMAKE_INSTALL_FULL_INCLUDEDIR "${VTK_INSTALL_INCLUDE_DIR}/vtktiff")
set(ZLIB_LIBRARIES vtkzlib)
set(JPEG_LIBRARIES vtkjpeg)
# Includes used by libtiff (and tests)
if(ZLIB_INCLUDE_DIRS)
list(APPEND TIFF_INCLUDES ${ZLIB_INCLUDE_DIRS})
......
......@@ -126,7 +126,6 @@ endif ()
vtk_add_library(vtktiff ${tiff_SOURCES} ${tiff_HEADERS} ${nodist_tiff_HEADERS}
${tiff_port_SOURCES} ${tiff_DEFS})
target_link_libraries(vtktiff ${TIFF_LIBRARY_DEPS})
set_target_properties(vtktiff PROPERTIES SOVERSION ${SO_COMPATVERSION})
if(NOT CYGWIN)
# This property causes shared libraries on Linux to have the full version
# encoded into their final filename. We disable this on Cygwin because
......@@ -135,7 +134,6 @@ if(NOT CYGWIN)
if (FALSE) # XXX(kitware): mangle library name
set_target_properties(tiff PROPERTIES VERSION ${SO_VERSION})
endif ()
set_target_properties(vtktiff PROPERTIES VERSION ${SO_VERSION})
endif()
if(HAVE_LD_VERSION_SCRIPT)
if (FALSE) # XXX(kitware): mangle library name
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment