From b23953d7cf8172572b6b40c4b82b4398cbe748e6 Mon Sep 17 00:00:00 2001 From: Kiss Lorand <50251547+kisslorand@users.noreply.github.com> Date: Tue, 22 Sep 2026 13:37:35 +0300 Subject: [PATCH] Fix missing runtime DLLs in Windows Install target (#15791) fix: install all Windows runtime DLLs Keep the runtime DLL list local while it is assembled. The previous PARENT_SCOPE assignment exported the initial list before the OCCT DLLs were appended. CMake then created a local list containing only the appended OCCT entries, causing the generated Install manifest to omit GMP, MPFR, WebView2, FreeType, and FFmpeg DLLs. Export the completed list only after all runtime DLLs have been added. --- CMakeLists.txt | 1 - 1 file changed, 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index e3547281f0..85e558a18c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1122,7 +1122,6 @@ function(orcaslicer_copy_dlls target config postfix output_dlls) ${_out_dir}/swresample-5.dll ${_out_dir}/swscale-8.dll ${_out_dir}/avutil-59.dll - PARENT_SCOPE ) list(APPEND _dll_list ${_occt_staged}) set(${output_dlls} ${_dll_list} PARENT_SCOPE)