mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-09 10:47:53 +02:00
always remove the resources dir, make client required
This commit is contained in:
parent
0e4fb51d09
commit
fab2568624
2 changed files with 5 additions and 6 deletions
|
@ -24,6 +24,9 @@ macro(GENERATE_INSTALLERS)
|
|||
set(CPACK_NSIS_PACKAGE_NAME ${_DISPLAY_NAME})
|
||||
set(CPACK_PACKAGE_INSTALL_DIRECTORY ${_DISPLAY_NAME})
|
||||
|
||||
# make the Interface client a required component
|
||||
set(CPACK_COMPONENT_${CLIENT_COMPONENT}_REQUIRED TRUE)
|
||||
|
||||
if (WIN32)
|
||||
# include CMake module that will install compiler system libraries
|
||||
# so that we have msvcr120 and msvcp120 installed with targets
|
||||
|
|
|
@ -245,12 +245,8 @@ FunctionEnd
|
|||
; Installation types
|
||||
|
||||
Section "-Previous Install Cleanup"
|
||||
|
||||
${If} ${SectionIsSelected} ${@CLIENT_COMPONENT_NAME@}
|
||||
; Remove the resources folder so we don't end up including removed QML files
|
||||
RMDir /r "$INSTDIR\resources"
|
||||
${EndIf}
|
||||
|
||||
; Remove the resources folder so we don't end up including removed QML files
|
||||
RMDir /r "$INSTDIR\resources"
|
||||
SectionEnd
|
||||
|
||||
@CPACK_NSIS_INSTALLATION_TYPES@
|
||||
|
|
Loading…
Reference in a new issue