From 90465d6261e583243b25b885ed38518801520261 Mon Sep 17 00:00:00 2001 From: Marek Roszko Date: Wed, 22 Jan 2025 20:20:46 -0500 Subject: [PATCH] Add windows runtime copy with install step under msvc --- CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index f4ec36fc37..ee7844276b 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -597,6 +597,9 @@ if( MSVC ) if( KICAD_WIN32_BUILD_PARALLEL_CL_MP ) string( APPEND CMAKE_CXX_FLAGS " /MP" ) endif() + + set( CMAKE_INSTALL_UCRT_LIBRARIES TRUE ) + include( InstallRequiredSystemLibraries ) endif() # KIFACE_SUFFIX is the file extension used for top level program modules which