From d2f1071e6094910855216c33d820d55bfd4971ee Mon Sep 17 00:00:00 2001 From: Andreas Sturmlechner Date: Sat, 3 Nov 2018 00:52:33 +0100 Subject: [PATCH] Drop install of CHANGES and LICENSE These files are not typically installed by the build system. Instead, distributions may or may not manually add them to their packaging (wrt standard licenses, it makes no sense to duplicate them all over the FS). CHANGES has not existed since 2012. --- CMakeLists.txt | 8 -------- 1 file changed, 8 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index a0e0e7fa..c54a36d5 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -315,14 +315,6 @@ install( FILES ${OPENJPEG_BINARY_DIR}/OpenJPEGConfig.cmake ) #----------------------------------------------------------------------------- -# install CHANGES and LICENSE -if(BUILD_DOC) -if(EXISTS ${OPENJPEG_SOURCE_DIR}/CHANGES) - install(FILES CHANGES DESTINATION ${CMAKE_INSTALL_DOCDIR}) -endif() - -install(FILES LICENSE DESTINATION ${CMAKE_INSTALL_DOCDIR}) -endif() include (cmake/OpenJPEGCPack.cmake)