added vcredist to windows package
This commit is contained in:
@ -32,7 +32,24 @@ IF(WIN32)
|
||||
INSTALL(
|
||||
FILES
|
||||
bin/Release/qsynergy.exe
|
||||
COMPONENT qsynergy
|
||||
DESTINATION bin)
|
||||
|
||||
set(CPACK_COMPONENT_QSYNERGY_DISPLAY_NAME "Graphical User Interface")
|
||||
|
||||
set(VCREDIST_PATH "${VCREDIST_DIR}\\\\${VCREDIST_FILE}")
|
||||
|
||||
install(
|
||||
PROGRAMS
|
||||
${VCREDIST_PATH}
|
||||
COMPONENT vcredist
|
||||
DESTINATION redist)
|
||||
|
||||
set(CPACK_COMPONENT_VCREDIST_DISPLAY_NAME "Visual C++ 2008 Redistributable")
|
||||
|
||||
set(CPACK_NSIS_EXTRA_INSTALL_COMMANDS "
|
||||
ExecWait '\\\"$INSTDIR\\\\redist\\\\${VCREDIST_FILE}\\\" /install /q'")
|
||||
|
||||
ELSE(WIN32)
|
||||
IF(APPLE)
|
||||
# TODO: how the hell do we distribute mac apps?
|
||||
|
||||
Reference in New Issue
Block a user