aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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()