Skip to content

Commit 0e4d858

Browse files
committed
packagning: Ignore "Debuginfo" files when creating MSI
1 parent e86af46 commit 0e4d858

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

packaging/WiX/CMakeLists.txt

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -313,6 +313,10 @@ function(set_wix_components)
313313
out("</DirectoryRef>")
314314

315315
# Define components
316+
# Note: Currently we do not put Debuginfo component into MSI, only ZIP
317+
318+
set(COMPONENTS ${COMPONENTS})
319+
list(REMOVE_ITEM COMPONENTS "Debuginfo")
316320

317321
set(OUT_VAR WIX_COMPONENTS)
318322

@@ -321,7 +325,7 @@ function(set_wix_components)
321325
get_dir_id(${d_suffix} d_id)
322326

323327
foreach(C ${COMPONENTS})
324-
328+
325329
if(NOT FILES${C}${d_suffix})
326330
continue()
327331
endif()

0 commit comments

Comments
 (0)