Skip to content
Snippets Groups Projects
Commit 58ef2bca authored by Lars Bilke's avatar Lars Bilke
Browse files

Merge branch 'fix-check-header' into 'master'

[ci] Fix check header job: add USE_PETSC define

See merge request ogs/ogs!5184
parents 9d599d1e 90fa97a2
No related branches found
No related tags found
No related merge requests found
......@@ -83,6 +83,9 @@ function(_check_header_compilation target)
endif()
get_target_property(_target_defs ${target} COMPILE_DEFINITIONS)
if(OGS_USE_PETSC)
list(APPEND _target_defs USE_PETSC)
endif()
foreach(def ${_target_defs})
# strip generator expressions
if(${def} MATCHES "\\$<.*")
......
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