diff --git a/Tests/CMakeLists.txt b/Tests/CMakeLists.txt
index 57077da713fc32ac4e92777eef6f8b2fcb0c472c..eb6363d6c8a0dd1fd10689f17dbcbb026c47e074 100644
--- a/Tests/CMakeLists.txt
+++ b/Tests/CMakeLists.txt
@@ -145,6 +145,7 @@ if(OGS_BUILD_GUI)
                 VtkVisFilter
                 QtDataView
                 VTK::IOImage
+                pybind11::embed
     )
     if(GEOTIFF_FOUND)
         target_link_libraries(testrunner PRIVATE ${GEOTIFF_LIBRARIES})