shorten up GenerateInstallers macro

This commit is contained in:
Stephen Birarda 2016-01-19 15:38:31 -08:00 committed by Ryan Huffman
parent fdda93a62d
commit 8c400f1c5f

View file

@ -56,14 +56,8 @@ macro(GENERATE_INSTALLERS)
set(CPACK_OSX_PACKAGE_VERSION ${CMAKE_OSX_DEPLOYMENT_TARGET})
endif ()
cpack_add_component(
${CLIENT_COMPONENT}
DISPLAY_NAME "High Fidelity Client"
)
cpack_add_component(${SERVER_COMPONENT}
DISPLAY_NAME "High Fidelity Server"
)
cpack_add_component(${CLIENT_COMPONENT} DISPLAY_NAME "High Fidelity Client")
cpack_add_component(${SERVER_COMPONENT} DISPLAY_NAME "High Fidelity Server")
if (APPLE)
# we don't want the OS X package to install anywhere but the main volume, so disable relocation