111 lines
3.8 KiB
Diff
111 lines
3.8 KiB
Diff
--- a/CMakeLists.txt
|
|
+++ b/CMakeLists.txt
|
|
@@ -524,12 +524,9 @@ if(BUILD_TESTING)
|
|
endif()
|
|
|
|
if(NOT CMake_TEST_EXTERNAL_CMAKE)
|
|
- # Install license file as it requires.
|
|
- install(FILES Copyright.txt DESTINATION ${CMAKE_DOC_DIR})
|
|
-
|
|
# Install script directories.
|
|
install(
|
|
- DIRECTORY Help Modules Templates
|
|
+ DIRECTORY Modules Templates
|
|
DESTINATION ${CMAKE_DATA_DIR}
|
|
FILE_PERMISSIONS OWNER_READ OWNER_WRITE GROUP_READ WORLD_READ
|
|
DIRECTORY_PERMISSIONS OWNER_READ OWNER_EXECUTE OWNER_WRITE
|
|
@@ -545,9 +542,6 @@ if(NOT CMake_TEST_EXTERNAL_CMAKE)
|
|
REGEX "Help/(dev|guide)($|/)" EXCLUDE
|
|
)
|
|
|
|
- # Install auxiliary files integrating with other tools.
|
|
- add_subdirectory(Auxiliary)
|
|
-
|
|
# Optionally sign installed binaries.
|
|
if(CMake_INSTALL_SIGNTOOL)
|
|
configure_file(Source/CMakeInstallSignTool.cmake.in Source/CMakeInstallSignTool.cmake @ONLY)
|
|
--- a/Source/kwsys/CMakeLists.txt
|
|
+++ b/Source/kwsys/CMakeLists.txt
|
|
@@ -607,11 +607,6 @@ if(KWSYS_INSTALL_DOC_DIR)
|
|
COMPONENT ${KWSYS_INSTALL_COMPONENT_NAME_RUNTIME}
|
|
)
|
|
endif()
|
|
-
|
|
- # Install the license under the documentation directory.
|
|
- install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/Copyright.txt
|
|
- DESTINATION ${KWSYS_INSTALL_DOC_DIR}/${KWSYS_NAMESPACE}
|
|
- ${KWSYS_INSTALL_LICENSE_OPTIONS})
|
|
endif()
|
|
|
|
#-----------------------------------------------------------------------------
|
|
--- a/Utilities/cmcurl/CMakeLists.txt
|
|
+++ b/Utilities/cmcurl/CMakeLists.txt
|
|
@@ -1657,9 +1657,9 @@ if(BUILD_TESTING AND CMAKE_CURL_TEST_URL
|
|
add_test(curl curltest ${CMAKE_CURL_TEST_URL})
|
|
endif()
|
|
|
|
-install(FILES COPYING DESTINATION ${CMAKE_DOC_DIR}/cmcurl)
|
|
-
|
|
return() # The rest of this file is not needed for building within CMake.
|
|
+
|
|
+install(FILES COPYING DESTINATION ${CMAKE_DOC_DIR}/cmcurl)
|
|
#-----------------------------------------------------------------------------
|
|
|
|
include(GNUInstallDirs)
|
|
--- a/Utilities/cmlibarchive/CMakeLists.txt
|
|
+++ b/Utilities/cmlibarchive/CMakeLists.txt
|
|
@@ -2093,5 +2093,3 @@ add_subdirectory(tar)
|
|
add_subdirectory(cpio)
|
|
add_subdirectory(unzip)
|
|
ENDIF()
|
|
-
|
|
-install(FILES COPYING DESTINATION ${CMAKE_DOC_DIR}/cmlibarchive)
|
|
--- a/Utilities/cmliblzma/CMakeLists.txt
|
|
+++ b/Utilities/cmliblzma/CMakeLists.txt
|
|
@@ -189,5 +189,3 @@ ENDIF()
|
|
if(WIN32 AND CMake_BUILD_PCH)
|
|
target_precompile_headers(cmliblzma PRIVATE "common/mythread.h")
|
|
endif()
|
|
-
|
|
-INSTALL(FILES COPYING DESTINATION ${CMAKE_DOC_DIR}/cmliblzma)
|
|
--- a/Utilities/cmlibrhash/CMakeLists.txt
|
|
+++ b/Utilities/cmlibrhash/CMakeLists.txt
|
|
@@ -38,5 +38,3 @@ include_directories(
|
|
|
|
add_library(cmlibrhash ${librhash_sources})
|
|
target_compile_definitions(cmlibrhash PRIVATE NO_IMPORT_EXPORT)
|
|
-
|
|
-install(FILES COPYING DESTINATION ${CMAKE_DOC_DIR}/cmlibrhash)
|
|
--- a/Utilities/cmlibuv/CMakeLists.txt
|
|
+++ b/Utilities/cmlibuv/CMakeLists.txt
|
|
@@ -354,5 +354,3 @@ set_property(TARGET cmlibuv PROPERTY COM
|
|
if(WIN32 AND CMake_BUILD_PCH)
|
|
target_precompile_headers(cmlibuv PRIVATE "include/uv.h" "src/win/internal.h")
|
|
endif()
|
|
-
|
|
-install(FILES LICENSE DESTINATION ${CMAKE_DOC_DIR}/cmlibuv)
|
|
--- a/Utilities/cmnghttp2/CMakeLists.txt
|
|
+++ b/Utilities/cmnghttp2/CMakeLists.txt
|
|
@@ -49,5 +49,3 @@ target_include_directories(cmnghttp2 PRI
|
|
${CMAKE_CURRENT_BINARY_DIR}
|
|
${CMAKE_CURRENT_SOURCE_DIR}/lib/includes
|
|
)
|
|
-
|
|
-install(FILES COPYING DESTINATION ${CMAKE_DOC_DIR}/cmnghttp2)
|
|
--- a/Utilities/cmzlib/CMakeLists.txt
|
|
+++ b/Utilities/cmzlib/CMakeLists.txt
|
|
@@ -24,5 +24,3 @@ add_library(cmzlib
|
|
uncompr.c
|
|
zutil.c
|
|
)
|
|
-
|
|
-install(FILES Copyright.txt DESTINATION ${CMAKE_DOC_DIR}/cmzlib)
|
|
--- a/Utilities/cmzstd/CMakeLists.txt
|
|
+++ b/Utilities/cmzstd/CMakeLists.txt
|
|
@@ -46,5 +46,3 @@ add_library(cmzstd STATIC
|
|
|
|
# BMI2 instructions are not supported in older environments.
|
|
set_property(TARGET cmzstd PROPERTY COMPILE_DEFINITIONS DYNAMIC_BMI2=0)
|
|
-
|
|
-install(FILES LICENSE DESTINATION ${CMAKE_DOC_DIR}/cmzstd)
|