From 26b634fd90133d7857e241d4038e7448dadfdcb9 Mon Sep 17 00:00:00 2001 From: Ryan Foster Date: Fri, 8 Nov 2024 15:18:05 -0500 Subject: [PATCH] cmake: Fix build directory exclusion The regex was incorrectly excluding any file with build in the name. The intent was to exclude any build directories, so we should be able to restrict this. --- cmake/linux/cpackconfig.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/linux/cpackconfig.cmake b/cmake/linux/cpackconfig.cmake index bc1883b8599e72..682aec92405ff9 100644 --- a/cmake/linux/cpackconfig.cmake +++ b/cmake/linux/cpackconfig.cmake @@ -16,7 +16,7 @@ endif() set(CPACK_SOURCE_PACKAGE_FILE_NAME "obs-studio-${CPACK_PACKAGE_VERSION}-sources") set(CPACK_SOURCE_GENERATOR "TGZ") -set(CPACK_SOURCE_IGNORE_FILES "/.git" "/.*build.*" "/.ccache" "/.deps") +set(CPACK_SOURCE_IGNORE_FILES "/.git" "/build[^/]*/" "/.ccache" "/.deps") set(CPACK_ARCHIVE_THREADS 0) if(OS_LINUX)