cmake pybind11 cannot create target because another target with the same name already exists, how to bypass?

grapoli_lap is supposed to be an executable. I tried to use another name for pybind11, for example, pybind11_add_module(grapoli_py grapoli_lib.cpp) but then I get an error that source file cannot be found: grapoli_lib.cpp