From bfe35fc06bad3bd12066219e456fbe61f79399ba Mon Sep 17 00:00:00 2001 From: Fabrice Fontaine Date: Sun, 27 Dec 2020 15:27:41 +0100 Subject: [PATCH] contrib/zlib/CMakeLists.txt: don't install zlib Don't install zlib static library to avoid potential conflicts with a system-wide zlib package Signed-off-by: Fabrice Fontaine --- contrib/zlib/CMakeLists.txt | 7 ------- 1 file changed, 7 deletions(-) diff --git a/contrib/zlib/CMakeLists.txt b/contrib/zlib/CMakeLists.txt index c284656eb..e78fd25da 100644 --- a/contrib/zlib/CMakeLists.txt +++ b/contrib/zlib/CMakeLists.txt @@ -197,10 +197,3 @@ if(MINGW) endif(MINGW) add_library(zlibstatic STATIC ${ZLIB_SRCS} ${ZLIB_ASMS} ${ZLIB_PUBLIC_HDRS} ${ZLIB_PRIVATE_HDRS}) - -INSTALL( TARGETS zlibstatic - EXPORT "${TARGETS_EXPORT_NAME}" - LIBRARY DESTINATION ${ASSIMP_LIB_INSTALL_DIR} - ARCHIVE DESTINATION ${ASSIMP_LIB_INSTALL_DIR} - RUNTIME DESTINATION ${ASSIMP_BIN_INSTALL_DIR} - COMPONENT ${LIBASSIMP_COMPONENT})