Skip to content

Commit 7e04ea5

Browse files
authored
Do not look for macros in hidden folders (#14374)
1 parent cd40d12 commit 7e04ea5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmake/O2GetListOfMacros.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ include_guard()
1818
function(o2_get_list_of_macros dir varname)
1919
file(GLOB_RECURSE listOfMacros RELATIVE ${CMAKE_SOURCE_DIR} ${dir}/*.C)
2020
# Case sensitive filtering of .C files (to avoid .c files on Mac)
21-
list(FILTER listOfMacros INCLUDE REGEX "^.*\\.C$")
21+
list(FILTER listOfMacros INCLUDE REGEX "^[^.].*\\.C$")
2222
# Remove macros that were copied to the build directory, to deal with
2323
# the (non-recommended-but-can-happen) case where the build directory
2424
# is a subdirectory of the source dir

0 commit comments

Comments
 (0)