Skip to content
Snippets Groups Projects
Commit c62d6143 authored by Dominic Kempf's avatar Dominic Kempf
Browse files

[Cmake][bugfix] Fix error in making headercheck configurable

The property must exist in order to have the exclusion macros work.
I only tested dune common which has no exclusions...

Thanks to Andreas Buhr for noticing!
parent 1a9e7684
No related branches found
No related tags found
No related merge requests found
......@@ -7,6 +7,8 @@ macro(setup_headercheck)
# strip hidden files
string(REGEX REPLACE "[^;]*/\\.[^;]*\\.hh;?" "" headers "${all_headers}")
set_property(GLOBAL PROPERTY headercheck_list ${headers})
else()
set_property(GLOBAL PROPERTY headercheck_list "")
endif()
#define headercheck target
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment