mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2026-06-29 01:54:20 +03:00
include vc_redist in portable build
Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
This commit is contained in:
parent
37d3b2a4f6
commit
c5daca3b01
1 changed files with 5 additions and 0 deletions
|
|
@ -372,6 +372,11 @@ endif()
|
|||
if(NOT (UNIX AND APPLE))
|
||||
# Install "portable.txt" if selected component is "portable"
|
||||
install(FILES "${CMAKE_CURRENT_SOURCE_DIR}/${Launcher_Portable_File}" DESTINATION "." COMPONENT portable EXCLUDE_FROM_ALL)
|
||||
if (MSVC)
|
||||
set(CMAKE_INSTALL_SYSTEM_RUNTIME_LIBS_SKIP true)
|
||||
include(InstallRequiredSystemLibraries)
|
||||
install(FILES "${MSVC_REDIST_DIR}/vc_redist.x64.exe" DESTINATION "vc_redist/." COMPONENT portable EXCLUDE_FROM_ALL )
|
||||
endif()
|
||||
endif()
|
||||
|
||||
if(UNIX AND APPLE)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue