mirror of
https://github.com/overte-org/overte.git
synced 2025-08-10 19:03:07 +02:00
force default selection of client on install
This commit is contained in:
parent
87ecc65dce
commit
20777bd19a
2 changed files with 6 additions and 1 deletions
|
@ -85,7 +85,7 @@ macro(GENERATE_INSTALLERS)
|
||||||
|
|
||||||
set(CPACK_RESOURCE_FILE_LICENSE "${CMAKE_SOURCE_DIR}/LICENSE")
|
set(CPACK_RESOURCE_FILE_LICENSE "${CMAKE_SOURCE_DIR}/LICENSE")
|
||||||
|
|
||||||
cpack_add_component(${CLIENT_COMPONENT} DISPLAY_NAME "High Fidelity Interface" REQUIRED)
|
cpack_add_component(${CLIENT_COMPONENT} DISPLAY_NAME "High Fidelity Interface")
|
||||||
cpack_add_component(${SERVER_COMPONENT} DISPLAY_NAME "High Fidelity Sandbox")
|
cpack_add_component(${SERVER_COMPONENT} DISPLAY_NAME "High Fidelity Sandbox")
|
||||||
|
|
||||||
include(CPack)
|
include(CPack)
|
||||||
|
|
|
@ -129,6 +129,11 @@ Var AR_RegFlags
|
||||||
;Writing modified flags
|
;Writing modified flags
|
||||||
SectionSetFlags ${${SecName}} $AR_SecFlags
|
SectionSetFlags ${${SecName}} $AR_SecFlags
|
||||||
|
|
||||||
|
; The client is always selected by default
|
||||||
|
${If} ${SecName} == @CLIENT_COMPONENT_NAME@
|
||||||
|
SectionSetFlags ${${SecName}} 17
|
||||||
|
${EndIf}
|
||||||
|
|
||||||
"default_${SecName}:"
|
"default_${SecName}:"
|
||||||
!insertmacro LoadSectionSelectedIntoVar ${SecName} ${SecName}_selected
|
!insertmacro LoadSectionSelectedIntoVar ${SecName} ${SecName}_selected
|
||||||
!macroend
|
!macroend
|
||||||
|
|
Loading…
Reference in a new issue