Revert "chore: move LICENSE -> docs/LICENSE"

This reverts commit dd55247380.
This commit is contained in:
sithlord48
2026-02-23 17:20:26 -05:00
committed by Chris Rizzitello
parent 7f4b942817
commit 4314159a0b
4 changed files with 7 additions and 4 deletions

View File

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

View File

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

View File

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