mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2024-12-29 12:20:41 +00:00
Maybe fix #5551
If we were doing this properly, we'd migrate to https://cmake.org/cmake/help/latest/module/InstallRequiredSystemLibraries.html but this should hopefully remove a blocker for 0.47
This commit is contained in:
parent
f0cef87cd8
commit
1626762d5c
@ -830,13 +830,13 @@ elseif(NOT APPLE)
|
|||||||
SET(VCREDIST32 "${OpenMW_BINARY_DIR}/vcredist_x86.exe")
|
SET(VCREDIST32 "${OpenMW_BINARY_DIR}/vcredist_x86.exe")
|
||||||
if(EXISTS ${VCREDIST32})
|
if(EXISTS ${VCREDIST32})
|
||||||
INSTALL(FILES ${VCREDIST32} DESTINATION "redist")
|
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})
|
endif(EXISTS ${VCREDIST32})
|
||||||
|
|
||||||
SET(VCREDIST64 "${OpenMW_BINARY_DIR}/vcredist_x64.exe")
|
SET(VCREDIST64 "${OpenMW_BINARY_DIR}/vcredist_x64.exe")
|
||||||
if(EXISTS ${VCREDIST64})
|
if(EXISTS ${VCREDIST64})
|
||||||
INSTALL(FILES ${VCREDIST64} DESTINATION "redist")
|
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})
|
endif(EXISTS ${VCREDIST64})
|
||||||
|
|
||||||
SET(OALREDIST "${OpenMW_BINARY_DIR}/oalinst.exe")
|
SET(OALREDIST "${OpenMW_BINARY_DIR}/oalinst.exe")
|
||||||
|
Loading…
Reference in New Issue
Block a user