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.
This commit is contained in:
Kiss Lorand
2026-09-22 07:37:35 -03:00
committed by GitHub
parent cfc6be5001
commit b23953d7cf
-1
View File
@@ -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)