From cb4c188598b7e0159c0d34d89d7d023721d1e8b9 Mon Sep 17 00:00:00 2001 From: sithlord48 Date: Sat, 27 Jul 2024 11:26:13 -0400 Subject: [PATCH] feat: Install license --- CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 8d432f9..b87f25c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -47,6 +47,8 @@ install(TARGETS QtAwesome EXPORT QtAwesomeConfig PUBLIC_HEADER DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/QtAwesome ) +install (FILES "${PROJECT_SOURCE_DIR}/LICENSE.md" DESTINATION ${CMAKE_INSTALL_DATADIR}/licenses/${PROJECT_NAME} RENAME LICENSE) + install(EXPORT QtAwesomeConfig DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/QtAwesome/ NAMESPACE QtAwesome::