diff --git a/MathLib/CMakeLists.txt b/MathLib/CMakeLists.txt index 9a7fcff237de90abce63ca92888fb862808c90f7..eb98729936bd3fe99f99b97ee99a868c814e9139 100644 --- a/MathLib/CMakeLists.txt +++ b/MathLib/CMakeLists.txt @@ -50,6 +50,7 @@ if (OGS_USE_MKL) endif() if (OGS_USE_PETSC) + target_include_directories(MathLib PUBLIC ${PETSC_INCLUDE_DIRS}) target_link_libraries(MathLib PUBLIC ${PETSC_LIBRARIES}) endif() diff --git a/ThirdParty/cmake-modules b/ThirdParty/cmake-modules index 28c3f6046151f88b338d46e5d3149e89e1bf1d15..75678d1d80e39e2e1b14b2fd6afd0e8823e60b2b 160000 --- a/ThirdParty/cmake-modules +++ b/ThirdParty/cmake-modules @@ -1 +1 @@ -Subproject commit 28c3f6046151f88b338d46e5d3149e89e1bf1d15 +Subproject commit 75678d1d80e39e2e1b14b2fd6afd0e8823e60b2b