From dd55247380aa52c9ae37e721baffe01365b3d145 Mon Sep 17 00:00:00 2001 From: sithlord48 Date: Sun, 22 Feb 2026 09:49:20 -0500 Subject: [PATCH] chore: move LICENSE -> docs/LICENSE --- CMakeLists.txt | 5 ----- deploy/CMakeLists.txt | 3 +-- docs/CMakeLists.txt | 3 +++ LICENSE => docs/LICENSE | 0 4 files changed, 4 insertions(+), 7 deletions(-) rename LICENSE => docs/LICENSE (100%) diff --git a/CMakeLists.txt b/CMakeLists.txt index e764b7eaa..6999c0989 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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} diff --git a/deploy/CMakeLists.txt b/deploy/CMakeLists.txt index c7b0ca781..282f292ca 100644 --- a/deploy/CMakeLists.txt +++ b/deploy/CMakeLists.txt @@ -1,9 +1,8 @@ # SPDX-FileCopyrightText: (C) 2024 Chris Rizzitello # 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 ) diff --git a/docs/CMakeLists.txt b/docs/CMakeLists.txt index 8a4b1a71e..6e1a9424f 100644 --- a/docs/CMakeLists.txt +++ b/docs/CMakeLists.txt @@ -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}) diff --git a/LICENSE b/docs/LICENSE similarity index 100% rename from LICENSE rename to docs/LICENSE