From 2e47acb564dff8b281fe1d1a24dd7fcf785ca457 Mon Sep 17 00:00:00 2001 From: Christoph Lehmann <christoph.lehmann@ufz.de> Date: Tue, 31 Jul 2018 15:53:07 +0200 Subject: [PATCH] [PL] added Python build dependencies --- ProcessLib/CMakeLists.txt | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/ProcessLib/CMakeLists.txt b/ProcessLib/CMakeLists.txt index 71a28b6b06e..f0aabeac67c 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() -- GitLab