feat: Install license

This commit is contained in:
sithlord48 2024-07-27 11:26:13 -04:00 committed by Rick Blommers
parent 4e41ec4822
commit cb4c188598

View File

@ -47,6 +47,8 @@ install(TARGETS QtAwesome EXPORT QtAwesomeConfig
PUBLIC_HEADER DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/QtAwesome 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 install(EXPORT QtAwesomeConfig
DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/QtAwesome/ DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/QtAwesome/
NAMESPACE QtAwesome:: NAMESPACE QtAwesome::