|
|
|
@ -847,13 +847,13 @@ elseif(NOT APPLE)
|
|
|
|
|
SET(VCREDIST32 "${OpenMW_BINARY_DIR}/vcredist_x86.exe")
|
|
|
|
|
if(EXISTS ${VCREDIST32})
|
|
|
|
|
INSTALL(FILES ${VCREDIST32} DESTINATION "redist")
|
|
|
|
|
SET(CPACK_NSIS_EXTRA_INSTALL_COMMANDS "ExecWait '\\\"$INSTDIR\\\\redist\\\\vcredist_x86.exe\\\" /q'" )
|
|
|
|
|
SET(CPACK_NSIS_EXTRA_INSTALL_COMMANDS "ExecWait '\\\"$INSTDIR\\\\redist\\\\vcredist_x86.exe\\\" /q /norestart'" )
|
|
|
|
|
endif(EXISTS ${VCREDIST32})
|
|
|
|
|
|
|
|
|
|
SET(VCREDIST64 "${OpenMW_BINARY_DIR}/vcredist_x64.exe")
|
|
|
|
|
if(EXISTS ${VCREDIST64})
|
|
|
|
|
INSTALL(FILES ${VCREDIST64} DESTINATION "redist")
|
|
|
|
|
SET(CPACK_NSIS_EXTRA_INSTALL_COMMANDS "ExecWait '\\\"$INSTDIR\\\\redist\\\\vcredist_x64.exe\\\" /q'" )
|
|
|
|
|
SET(CPACK_NSIS_EXTRA_INSTALL_COMMANDS "ExecWait '\\\"$INSTDIR\\\\redist\\\\vcredist_x64.exe\\\" /q /norestart'" )
|
|
|
|
|
endif(EXISTS ${VCREDIST64})
|
|
|
|
|
|
|
|
|
|
SET(OALREDIST "${OpenMW_BINARY_DIR}/oalinst.exe")
|
|
|
|
|