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
set_target_properties (z_bundled PROPERTIES
COMPILE_FLAGS "${CMAKE_SHARED_LIBRARY_C_FLAGS}"
)
+
+install (
+ FILES README
+ DESTINATION ${DOC_INSTALL_DIR}
+ RENAME LICENSE-zlib.txt
+)