X-Git-Url: https://git.cworth.org/git?a=blobdiff_plain;f=thirdparty%2Fzlib%2FCMakeLists.txt;h=710855de3765dcc23399cccf0fd3aaeb2ab82092;hb=cfb8a74451e3a4063b2e7638cfbb15ad6b533600;hp=b1e953d12bac221e6da86380bc4221c9129dd02a;hpb=05fa80124e0546b6d7cc4701ffe37efc3ced5521;p=apitrace diff --git a/thirdparty/zlib/CMakeLists.txt b/thirdparty/zlib/CMakeLists.txt index b1e953d..710855d 100644 --- a/thirdparty/zlib/CMakeLists.txt +++ b/thirdparty/zlib/CMakeLists.txt @@ -1,7 +1,5 @@ include_directories (${CMAKE_CURRENT_SOURCE_DIR}) -add_definitions (-DNO_VIZ) - # adjust warnings if (MSVC) add_definitions (-wd4131) # uses old-style declarator @@ -9,7 +7,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 +28,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 +)