From 033e053013c01107de07dc60ade5b1b7e3f389dd Mon Sep 17 00:00:00 2001 From: FeignClaims Date: Tue, 7 Jan 2025 01:24:24 +0800 Subject: [PATCH] fix: exclude windows system dll --- src/PackageProject.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/PackageProject.cmake b/src/PackageProject.cmake index 7b48c33f..19b2b940 100644 --- a/src/PackageProject.cmake +++ b/src/PackageProject.cmake @@ -269,7 +269,7 @@ function(package_project) [[kernel32\.dll]] [[(libc|libgcc_s|libgcc_s_seh|libm|libstdc\+\+|libc\+\+|libunwind)(-[0-9.]+)?\..*]] POST_EXCLUDE_REGEXES - [[.*/system32/.*\.dll]] + [[.*(\\|/)system32(\\|/).*\.dll]] # according to https://discourse.cmake.org/t/migration-experiences-comparison-runtime-dependency-set-vs-fixup-bundle-bundleutilities/11323/6 [[^/lib.*]] [[^/usr/lib.*]] DIRECTORIES