mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2025-06-12 05:07:46 +02:00
prevent the unauthorised reditribution of MSVC CRT files
Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
This commit is contained in:
@ -43,7 +43,7 @@ configure_file(prismlauncher.manifest.in prismlauncher.manifest @ONLY)
|
||||
configure_file(prismlauncher.ico prismlauncher.ico COPYONLY)
|
||||
|
||||
if(MSVC)
|
||||
set(CMAKE_INSTALL_SYSTEM_RUNTIME_DESTINATION vc_redist)
|
||||
set(CMAKE_INSTALL_SYSTEM_RUNTIME_LIBS_SKIP true)
|
||||
include(InstallRequiredSystemLibraries)
|
||||
file(TO_NATIVE_PATH ${MSVC_REDIST_DIR} Native_MSVC_REDIST_DIR)
|
||||
set(Launcher_MSVC_Redist_NSIS_Section "\
|
||||
|
Reference in New Issue
Block a user