mirror of
https://github.com/overte-org/overte.git
synced 2025-04-23 02:53:32 +02:00
set component requirement in cpack add componeent command
This commit is contained in:
parent
fab2568624
commit
87ecc65dce
1 changed files with 1 additions and 4 deletions
|
@ -24,9 +24,6 @@ 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
|
||||
|
@ -88,7 +85,7 @@ macro(GENERATE_INSTALLERS)
|
|||
|
||||
set(CPACK_RESOURCE_FILE_LICENSE "${CMAKE_SOURCE_DIR}/LICENSE")
|
||||
|
||||
cpack_add_component(${CLIENT_COMPONENT} DISPLAY_NAME "High Fidelity Interface")
|
||||
cpack_add_component(${CLIENT_COMPONENT} DISPLAY_NAME "High Fidelity Interface" REQUIRED)
|
||||
cpack_add_component(${SERVER_COMPONENT} DISPLAY_NAME "High Fidelity Sandbox")
|
||||
|
||||
include(CPack)
|
||||
|
|
Loading…
Reference in a new issue