108 lines
3.7 KiB
Diff
108 lines
3.7 KiB
Diff
|
--- a/CMakeLists.txt
|
||
|
+++ b/CMakeLists.txt
|
||
|
@@ -522,12 +522,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
|
||
|
@@ -543,9 +540,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
|
||
|
@@ -615,11 +615,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
|
||
|
@@ -1579,8 +1579,6 @@ target_link_libraries(curltest cmcurl)
|
||
|
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)
|
||
|
#-----------------------------------------------------------------------------
|
||
|
|
||
|
if(0) # This code not needed for building within CMake.
|
||
|
--- a/Utilities/cmlibarchive/CMakeLists.txt
|
||
|
+++ b/Utilities/cmlibarchive/CMakeLists.txt
|
||
|
@@ -2077,5 +2077,3 @@ add_subdirectory(cat)
|
||
|
add_subdirectory(tar)
|
||
|
add_subdirectory(cpio)
|
||
|
ENDIF()
|
||
|
-
|
||
|
-install(FILES COPYING DESTINATION ${CMAKE_DOC_DIR}/cmlibarchive)
|
||
|
--- a/Utilities/cmliblzma/CMakeLists.txt
|
||
|
+++ b/Utilities/cmliblzma/CMakeLists.txt
|
||
|
@@ -185,5 +185,3 @@ ELSEIF((CMAKE_C_COMPILER_ID STREQUAL "GN
|
||
|
# Disable the old GNU compiler optimizer.
|
||
|
SET_PROPERTY(TARGET cmliblzma PROPERTY COMPILE_FLAGS "-O0")
|
||
|
ENDIF()
|
||
|
-
|
||
|
-INSTALL(FILES COPYING DESTINATION ${CMAKE_DOC_DIR}/cmliblzma)
|
||
|
--- a/Utilities/cmlibrhash/CMakeLists.txt
|
||
|
+++ b/Utilities/cmlibrhash/CMakeLists.txt
|
||
|
@@ -36,5 +36,3 @@ include_directories(
|
||
|
)
|
||
|
|
||
|
add_library(cmlibrhash ${librhash_sources})
|
||
|
-
|
||
|
-install(FILES COPYING DESTINATION ${CMAKE_DOC_DIR}/cmlibrhash)
|
||
|
--- a/Utilities/cmlibuv/CMakeLists.txt
|
||
|
+++ b/Utilities/cmlibuv/CMakeLists.txt
|
||
|
@@ -364,5 +364,3 @@ include_directories(
|
||
|
add_library(cmlibuv STATIC ${uv_sources})
|
||
|
target_link_libraries(cmlibuv ${uv_libraries})
|
||
|
set_property(TARGET cmlibuv PROPERTY COMPILE_DEFINITIONS ${uv_defines})
|
||
|
-
|
||
|
-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)
|