From 4314159a0b6d0bd299d8bb61ab43f46d47d95d65 Mon Sep 17 00:00:00 2001 From: sithlord48 Date: Mon, 23 Feb 2026 17:20:26 -0500 Subject: [PATCH] Revert "chore: move LICENSE -> docs/LICENSE" This reverts commit dd55247380aa52c9ae37e721baffe01365b3d145. --- CMakeLists.txt | 5 +++++ docs/LICENSE => LICENSE | 0 deploy/CMakeLists.txt | 3 ++- docs/CMakeLists.txt | 3 --- 4 files changed, 7 insertions(+), 4 deletions(-) rename docs/LICENSE => LICENSE (100%) diff --git a/CMakeLists.txt b/CMakeLists.txt index 9c63439cb..9649b3a6f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -190,6 +190,11 @@ 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/docs/LICENSE b/LICENSE similarity index 100% rename from docs/LICENSE rename to LICENSE diff --git a/deploy/CMakeLists.txt b/deploy/CMakeLists.txt index 282f292ca..c7b0ca781 100644 --- a/deploy/CMakeLists.txt +++ b/deploy/CMakeLists.txt @@ -1,8 +1,9 @@ # 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}/docs/LICENSE + ${CMAKE_SOURCE_DIR}/LICENSE ${CMAKE_CURRENT_BINARY_DIR}/LICENSE.txt ONLY_IF_DIFFERENT ) diff --git a/docs/CMakeLists.txt b/docs/CMakeLists.txt index d59a5f934..fb32d2ba7 100644 --- a/docs/CMakeLists.txt +++ b/docs/CMakeLists.txt @@ -28,11 +28,8 @@ endif() # Show our documents in the IDE add_custom_target(docs SOURCES - LICENSE Readme.md Security.md ) install(FILES Security.md Readme.md DESTINATION ${CMAKE_INSTALL_DOCDIR}) - -install(FILES LICENSE DESTINATION ${CMAKE_INSTALL_LICENSE_DIR})