Skip to content

Commit 033e053

Browse files
committed
fix: exclude windows system dll
1 parent fcccf1d commit 033e053

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/PackageProject.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,7 @@ function(package_project)
269269
[[kernel32\.dll]]
270270
[[(libc|libgcc_s|libgcc_s_seh|libm|libstdc\+\+|libc\+\+|libunwind)(-[0-9.]+)?\..*]]
271271
POST_EXCLUDE_REGEXES
272-
[[.*/system32/.*\.dll]]
272+
[[.*(\\|/)system32(\\|/).*\.dll]] # according to https://discourse.cmake.org/t/migration-experiences-comparison-runtime-dependency-set-vs-fixup-bundle-bundleutilities/11323/6
273273
[[^/lib.*]]
274274
[[^/usr/lib.*]]
275275
DIRECTORIES

0 commit comments

Comments
 (0)