diff --git a/ProcessLib/CMakeLists.txt b/ProcessLib/CMakeLists.txt index 71a28b6b06e69e8b8130ee4be412be452d0eba9b..f0aabeac67c72752245a4e56cdc33bb661f2e23d 100644 --- a/ProcessLib/CMakeLists.txt +++ b/ProcessLib/CMakeLists.txt @@ -25,6 +25,11 @@ target_link_libraries(ProcessLib PUBLIC BaseLib MaterialLib MathLib MeshLib NumLib logog ) +if(OGS_USE_PYTHON) + target_link_libraries(ProcessLib PRIVATE pybind11::module) + target_include_directories(ProcessLib PRIVATE ${PYTHON_INCLUDE_DIRS}) +endif() + if(OGS_INSITU) target_link_libraries(ProcessLib InSituLib) endif()