summaryrefslogtreecommitdiff
path: root/thirdparty/zlib/CMakeLists.txt
diff options
context:
space:
mode:
authorJosé Fonseca <jose.r.fonseca@gmail.com>2012-12-11 07:22:16 +0000
committerJosé Fonseca <jose.r.fonseca@gmail.com>2012-12-11 07:22:16 +0000
commit8fae49d8ccee46f43bb06f035dd5b3ea105ba3aa (patch)
tree1ba2bf6bbc0eceee136bf51630cfc7c7da117fee /thirdparty/zlib/CMakeLists.txt
parent9db16b3989481f8d6dfc8932d760fcc16217ecbd (diff)
Install all thirdparty licenses.
Diffstat (limited to 'thirdparty/zlib/CMakeLists.txt')
-rw-r--r--thirdparty/zlib/CMakeLists.txt8
1 files changed, 7 insertions, 1 deletions
diff --git a/thirdparty/zlib/CMakeLists.txt b/thirdparty/zlib/CMakeLists.txt
index b1e953d1..3cf970ee 100644
--- a/thirdparty/zlib/CMakeLists.txt
+++ b/thirdparty/zlib/CMakeLists.txt
@@ -9,7 +9,7 @@ else ()
add_definitions (-DHAVE_UNISTD_H)
endif ()
-add_library (z_bundled STATIC
+add_library (z_bundled STATIC EXCLUDE_FROM_ALL
adler32.c
compress.c
crc32.c
@@ -30,3 +30,9 @@ add_library (z_bundled STATIC
set_target_properties (z_bundled PROPERTIES
COMPILE_FLAGS "${CMAKE_SHARED_LIBRARY_C_FLAGS}"
)
+
+install (
+ FILES README
+ DESTINATION ${DOC_INSTALL_DIR}
+ RENAME LICENSE-zlib.txt
+)