diff --git a/CMakeLists.txt b/CMakeLists.txt index aa2a63ad..20862663 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -232,6 +232,12 @@ set(WIN_IMG_PLUGINS_DEBUG "${QT5_PATH}/plugins/imageformats/qwebpd.dll" ) +# License files +set(LICENSE_FILES + LICENSE + LICENSE-PLUGINS +) + qt5_wrap_ui(SQLB_FORM_HDR ${SQLB_FORMS}) if(SQLB_TSS) @@ -440,6 +446,11 @@ if(WIN32 AND MSVC) DESTINATION imageformats CONFIGURATIONS Release) + # The license files + install(FILES + ${LICENSE_FILES} + DESTINATION licenses) + # The batch file launcher install(FILES distri/winlaunch.bat