From 8ad2661e0c85c80051992beee84c4c69c2ab1836 Mon Sep 17 00:00:00 2001 From: Kim Kulling Date: Sat, 16 Jan 2021 12:00:42 +0100 Subject: [PATCH] Update CMakeLists.txt --- contrib/zlib/CMakeLists.txt | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/contrib/zlib/CMakeLists.txt b/contrib/zlib/CMakeLists.txt index f088646a7..0e8a4b1e1 100644 --- a/contrib/zlib/CMakeLists.txt +++ b/contrib/zlib/CMakeLists.txt @@ -198,11 +198,11 @@ endif(MINGW) add_library(zlibstatic STATIC ${ZLIB_SRCS} ${ZLIB_ASMS} ${ZLIB_PUBLIC_HDRS} ${ZLIB_PRIVATE_HDRS}) -#IF(WIN32) -# 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}) -#ENDIF() +IF(WIN32) + 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}) +ENDIF()