From 473ab941f80592ada6a226ec666d7e6e8f79c21b Mon Sep 17 00:00:00 2001 From: Lars Bilke Date: Mon, 27 Jan 2014 10:54:46 +0100 Subject: [PATCH] Include xtiff in installation. --- libxtiff/CMakeLists.txt | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/libxtiff/CMakeLists.txt b/libxtiff/CMakeLists.txt index 747313c..69b3a91 100644 --- a/libxtiff/CMakeLists.txt +++ b/libxtiff/CMakeLists.txt @@ -5,5 +5,13 @@ # Author: Mateusz Loskot # ############################################################################### +ADD_LIBRARY( xtiff STATIC xtiff.c ) -ADD_LIBRARY(xtiff STATIC xtiff.c) +ADD_LIBRARY( xtiff_i SHARED xtiff.c ) + +TARGET_LINK_LIBRARIES( xtiff_i ${TIFF_LIBRARIES} ) + +INSTALL( TARGETS xtiff xtiff_i + RUNTIME DESTINATION bin + LIBRARY DESTINATION lib + ARCHIVE DESTINATION lib )