From 12ee94cee9880ea5f1ce938baec147b999027296 Mon Sep 17 00:00:00 2001 From: Justin Clift Date: Sun, 19 Nov 2017 21:23:52 +0000 Subject: [PATCH] Adding our license files to the Win install list --- CMakeLists.txt | 11 +++++++++++ 1 file changed, 11 insertions(+) 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