From 450097f2bf794b3f17534cb8be3bdbfe0e2cbc21 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 a734f3d4..9b86c8fa 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -311,14 +311,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)