summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--CMakeLists.txt1
-rw-r--r--packaging/windows/subsurface.nsi.in4
2 files changed, 5 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 5e2c7de8a..d7c179281 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -553,6 +553,7 @@ if(CMAKE_SYSTEM_NAME STREQUAL "Windows")
install(FILES ${CMAKE_SOURCE_DIR}/gpl-2.0.txt ${CMAKE_SOURCE_DIR}/packaging/windows/subsurface.ico DESTINATION ${WINDOWSSTAGING})
install(TARGETS ${SUBSURFACE_TARGET} DESTINATION ${WINDOWSSTAGING})
install(FILES ${CMAKE_BINARY_DIR}/qt.conf DESTINATION ${WINDOWSSTAGING})
+ install(DIRECTORY ${CMAKE_INSTALL_PREFIX}/lib/grantlee DESTINATION ${WINDOWSSTAGING})
if(NOT DEFINED MAKENSIS)
set(MAKENSIS makensis)
endif()
diff --git a/packaging/windows/subsurface.nsi.in b/packaging/windows/subsurface.nsi.in
index d22061880..d09d4beb3 100644
--- a/packaging/windows/subsurface.nsi.in
+++ b/packaging/windows/subsurface.nsi.in
@@ -100,6 +100,8 @@ Section
File /r plugins
File /r Documentation
File /r translations
+ File /r printing_templates
+ File /r grantlee
File *.dll
File subsurface.ico
File qt.conf
@@ -150,6 +152,8 @@ Section "Uninstall"
RMDir /r "$INSTDIR\oldshare"
RMDir /r "$INSTDIR\plugins"
RMDir /r "$INSTDIR\Documentation"
+ RMDir /r "$INSTDIR\printing_templates"
+ RMDir /r "$INSTDIR\grantlee"
RMDir "$INSTDIR"
# Remove shortcuts