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
@ -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…
Reference in New Issue
Block a user