Commit f23b06de authored by Ansgar Burchardt's avatar Ansgar Burchardt

Merge branch 'fix-cmake' into 'master'

cmake: fix regex for hidden files

See merge request core/dune-common!330
parents 02ea3efb cf5aed4d
Pipeline #5153 passed with stage
in 8 minutes and 43 seconds
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment