Revert "Merge branch 'bugfix/register-target-instead-of-include-directory' into 'master'"

!1457 (merged) was probably merged too quickly and may have caused some of the fallout on the python side. So we better revert it and investigate further taking into account the python pipelines.

Merge request reports

Loading