Skip to content
Snippets Groups Projects
Commit f23b06de authored by Ansgar Burchardt's avatar Ansgar Burchardt
Browse files

Merge branch 'fix-cmake' into 'master'

cmake: fix regex for hidden files

See merge request !330
parents 02ea3efb cf5aed4d
Branches
Tags
1 merge request!330cmake: fix regex for hidden files
Pipeline #
......@@ -12,7 +12,7 @@ macro(setup_headercheck)
#glob for headers
file(GLOB_RECURSE all_headers "*.hh")
# strip hidden files
string(REGEX REPLACE "[^;]*/\\.[^;]*\\.hh;?" "" headers "${all_headers}")
string(REGEX REPLACE "[^;]*/\\.[^;/]*\\.hh;?" "" headers "${all_headers}")
set_property(GLOBAL PROPERTY headercheck_list ${headers})
#define headercheck target
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment