From 4315f7f62185ef7074d7e52ea124618ebbfdc9a3 Mon Sep 17 00:00:00 2001 From: WarmUpTill <19472752+WarmUpTill@users.noreply.github.com> Date: Thu, 27 Mar 2025 18:11:04 +0100 Subject: [PATCH] Exclude unwanted files from sources archive --- CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index c2dbe1e3..a92b4df0 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -443,6 +443,9 @@ else() endif() target_include_directories(${LIB_NAME} PRIVATE "${PROC_INCLUDE_DIR}") target_sources(${LIB_NAME} PRIVATE lib/linux/advanced-scene-switcher-nix.cpp) + + # Don't include irrelevant folders into sources archive + list(APPEND CPACK_SOURCE_IGNORE_FILES "\\.deps/.*") endif() if(NOT OS_WINDOWS)