Files
MINGW-packages/mingw-w64-szip/szip-fix-install-docs.patch
Alexey Pavlov 34f4232ae6 szip: Fix destination for files. Remove extra build step as both static
and shared libraries building at the same time
2018-06-06 10:36:40 +03:00

21 lines
702 B
Diff

--- szip-2.1/CMakeLists.txt.orig 2014-04-30 11:39:23.387800000 +0400
+++ szip-2.1/CMakeLists.txt 2014-04-30 11:39:41.983000000 +0400
@@ -39,7 +39,7 @@
set (SZIP_INSTALL_INCLUDE_DIR include)
endif ()
if (NOT SZIP_INSTALL_DATA_DIR)
- if (NOT WIN32)
+ if (NOT MSVC)
if (APPLE)
option (SZIP_BUILD_FRAMEWORKS "Create a Mac OSX Framework" OFF)
set (SZIP_INSTALL_FWRK_DIR ${CMAKE_INSTALL_FRAMEWORK_PREFIX})
@@ -333,7 +333,7 @@
${SZIP_SOURCE_DIR}/README
${SZIP_SOURCE_DIR}/INSTALL
${SZIP_SOURCE_DIR}/RELEASE.txt
- DESTINATION ${SZIP_INSTALL_DATA_DIR}
+ DESTINATION ${SZIP_INSTALL_DATA_DIR}/doc/szip
COMPONENT documents
)
endif ()