prevent the unauthorised reditribution of MSVC CRT files

Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
This commit is contained in:
Rachel Powers 2024-09-27 00:49:00 -07:00
parent 2dc6f7504b
commit 37d3b2a4f6
No known key found for this signature in database
GPG Key ID: E10E321EB160949B

View File

@ -43,7 +43,7 @@ configure_file(prismlauncher.manifest.in prismlauncher.manifest @ONLY)
configure_file(prismlauncher.ico prismlauncher.ico COPYONLY) configure_file(prismlauncher.ico prismlauncher.ico COPYONLY)
if(MSVC) if(MSVC)
set(CMAKE_INSTALL_SYSTEM_RUNTIME_DESTINATION vc_redist) set(CMAKE_INSTALL_SYSTEM_RUNTIME_LIBS_SKIP true)
include(InstallRequiredSystemLibraries) include(InstallRequiredSystemLibraries)
file(TO_NATIVE_PATH ${MSVC_REDIST_DIR} Native_MSVC_REDIST_DIR) file(TO_NATIVE_PATH ${MSVC_REDIST_DIR} Native_MSVC_REDIST_DIR)
set(Launcher_MSVC_Redist_NSIS_Section "\ set(Launcher_MSVC_Redist_NSIS_Section "\