aboutsummaryrefslogtreecommitdiff
path: root/cmake/scripts/common
diff options
context:
space:
mode:
authorenen92 <92enen@gmail.com>2022-07-11 17:24:56 +0100
committerenen92 <92enen@gmail.com>2022-07-11 17:24:56 +0100
commit00681ed91ce9cbbd688d711c20db0ed2dc963786 (patch)
treeaedb6944e7bc21fabc57ad10ed9dfb0f78318202 /cmake/scripts/common
parentfcaa7869782b26b92d7777759c72584f664b3fca (diff)
[cmake] fix blacklisted files regex
Diffstat (limited to 'cmake/scripts/common')
-rw-r--r--cmake/scripts/common/Macros.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/scripts/common/Macros.cmake b/cmake/scripts/common/Macros.cmake
index 4bbb03bf95..49198a1c43 100644
--- a/cmake/scripts/common/Macros.cmake
+++ b/cmake/scripts/common/Macros.cmake
@@ -231,7 +231,7 @@ function(copy_file_to_buildtree file)
endif()
# Exclude autotools build artefacts and other blacklisted files in source tree.
- if(file MATCHES "(Makefile|\.in|\.xbt|\.so|\.dylib|\.gitignore)$")
+ if(file MATCHES "(Makefile|\\.in|\\.xbt|\\.so|\\.dylib|\\.gitignore)$")
if(VERBOSE)
message(STATUS "copy_file_to_buildtree - ignoring file: ${file}")
endif()