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

[ci] Fix check header job.

parent 459ccb56
No related branches found
No related tags found
No related merge requests found
......@@ -44,7 +44,7 @@ function(_check_header_compilation target)
Eigen3::Eigen
nlohmann_json::nlohmann_json
range-v3
# petsc; is given via ${PETSC_INCLUDES} below.
PkgConfig::PETSC
)
# Ignore non-existing targets or interface libs
if(NOT TARGET ${lib})
......@@ -73,7 +73,7 @@ function(_check_header_compilation target)
include(CheckCXXSourceCompiles)
# cmake-lint: disable=C0103
set(CMAKE_REQUIRED_INCLUDES ${INCLUDE_DIRS} ${SOURCE_DIR} ${PETSC_INCLUDES})
set(CMAKE_REQUIRED_INCLUDES ${INCLUDE_DIRS} ${SOURCE_DIR})
# HACK, maybe add Gui Widgets Xml XmlPatterns as well
if(OGS_BUILD_GUI)
set(CMAKE_REQUIRED_INCLUDES
......
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