chore: move LICENSE -> docs/LICENSE

This commit is contained in:
sithlord48
2026-02-22 09:49:20 -05:00
committed by Chris Rizzitello
parent fe9407ca33
commit dd55247380
4 changed files with 4 additions and 7 deletions

View File

@ -189,11 +189,6 @@ if(BUILD_INSTALLER)
add_subdirectory(deploy)
endif()
install(
FILES ${PROJECT_SOURCE_DIR}/LICENSE
DESTINATION ${CMAKE_INSTALL_LICENSE_DIR}
)
install(
FILES ${PROJECT_SOURCE_DIR}/LICENSES/LicenseRef-OpenSSL-Exception.txt
DESTINATION ${CMAKE_INSTALL_LICENSE_DIR}

View File

@ -1,9 +1,8 @@
# SPDX-FileCopyrightText: (C) 2024 Chris Rizzitello <sithlord48@gmail.com>
# SPDX-License-Identifier: MIT
# Copy License with txt ext for picky package creation tools
file(COPY_FILE
${CMAKE_SOURCE_DIR}/LICENSE
${CMAKE_SOURCE_DIR}/docs/LICENSE
${CMAKE_CURRENT_BINARY_DIR}/LICENSE.txt
ONLY_IF_DIFFERENT
)

View File

@ -28,6 +28,9 @@ endif()
# Show our documents in the IDE
add_custom_target(docs
SOURCES
LICENSE
Security.md
)
install(FILES Security.md DESTINATION ${CMAKE_INSTALL_DOCDIR})
install(FILES LICENSE DESTINATION ${CMAKE_INSTALL_LICENSE_DIR})