*/}}
Browse Source

cmake install issue fixed

YimingWu 1 month ago
parent
commit
15f63d1e27
1 changed files with 2 additions and 1 deletions
  1. 2 1
      CMakeLists.txt

+ 2 - 1
CMakeLists.txt

@@ -96,7 +96,8 @@ else()
 install(TARGETS OurPaint RUNTIME_DEPENDENCY_SET runtime_deps DESTINATION ${INSTALL_PATH_BIN})
 LIST(APPEND pre_exclude_regexes "api-ms-.*")
 LIST(APPEND pre_exclude_regexes "ext-ms-.*")
-LIST(APPEND post_exclude_regexes ".*WINDOWS[\\/]system32.*")
+list(APPEND post_exclude_regexes ".*[Ww][Ii][Nn][Dd][Oo][Ww][Ss][\\/][Ss][Yy][Ss][Tt][Ee][Mm]32.*")
+list(APPEND post_exclude_regexes ".*[Ww][Ii][Nn][Dd][Oo][Ww][Ss][\\/][Ss][Yy][Ss][Ww][Oo][Ww]64.*")
 LIST(APPEND post_exclude_regexes "^/lib" "^/usr" "^/bin")
 install(RUNTIME_DEPENDENCY_SET runtime_deps
     PRE_EXCLUDE_REGEXES ${pre_exclude_regexes}