Markup Error in prepare phase due to cyclic dependency

The prepare step of axii fails due to an error in markup. Simply using cmake in the repository works though. @dreher @kartmann do you have any idea what might be the cause?

Might be related to !415 (merged)

CMake Warning at /home/christoph/Code/Cpp/ax_default/armarx/ArmarXCore/etc/cmake/legacy/ArmarXCommands.cmake:180
(add_library):
  Cannot generate a safe runtime search path for target VisualizeObjects
  because there is a cycle in the constraint graph:

Traceback (most recent call last):
  File "/home/christoph/Code/Other/axii/axii", line 7, in <module>
    entry_point()
  File "/home/christoph/Code/Other/axii/.venv/lib/python3.10/site-packages/click/core.py", line 1134, in __call__
    return self.main(*args, **kwargs)
  File "/home/christoph/Code/Other/axii/.venv/lib/python3.10/site-packages/click/core.py", line 1059, in main
    rv = self.invoke(ctx)
  File "/home/christoph/Code/Other/axii/.venv/lib/python3.10/site-packages/click/core.py", line 1665, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/christoph/Code/Other/axii/.venv/lib/python3.10/site-packages/click/core.py", line 1665, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/christoph/Code/Other/axii/.venv/lib/python3.10/site-packages/click/core.py", line 1401, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/christoph/Code/Other/axii/.venv/lib/python3.10/site-packages/click/core.py", line 767, in invoke
    return __callback(*args, **kwargs)
  File "/home/christoph/Code/Other/axii/armarx_setup/cli/workspace/commands.py", line 284, in workspace_upgrade
    integration.upgrade(**kwargs)
  File "/home/christoph/Code/Other/axii/armarx_setup/cli/workspace/integration.py", line 229, in upgrade
    ws.upgrade(**kwargs)
  File "/home/christoph/Code/Other/axii/armarx_setup/core/workspace/workspace.py", line 899, in upgrade
    self._step_with_options(upgrade_module, verb="upgrade", **kwargs)
  File "/home/christoph/Code/Other/axii/armarx_setup/core/workspace/workspace.py", line 737, in _step_with_options
    return self.for_each_module_in_dependency_chain(module_fn, **kwargs)
  File "/home/christoph/Code/Other/axii/armarx_setup/core/workspace/workspace.py", line 322, in for_each_module_in_dependency_chain
    return {module.name: func(module, *args, **kwargs)
  File "/home/christoph/Code/Other/axii/armarx_setup/core/workspace/workspace.py", line 322, in <dictcomp>
    return {module.name: func(module, *args, **kwargs)
  File "/home/christoph/Code/Other/axii/armarx_setup/core/workspace/workspace.py", line 889, in upgrade_module
    self.prepare_module(module, ignore_errors=ignore_errors)
  File "/home/christoph/Code/Other/axii/armarx_setup/core/workspace/workspace.py", line 641, in prepare_module
    module.prepare(ignore_errors=ignore_errors)
  File "/home/christoph/Code/Other/axii/armarx_setup/core/module/context.py", line 91, in __call__
    r = hook(*args, **kwargs)
  File "/home/christoph/Code/Other/axii/armarx_setup/core/module/prepare/cmake.py", line 72, in __call__
    execute(cmake, cwd=build_dir, env=self.ctx.env)
  File "/home/christoph/Code/Other/axii/armarx_setup/cli/common.py", line 83, in decorated_execute
    stdout = commands.execute(cmd=cmd,
  File "/home/christoph/Code/Other/axii/armarx_setup/core/util/commands.py", line 230, in execute
    stderr_buffer = buffer_or_print(data, stderr_buffer, print_stderr)
  File "/home/christoph/Code/Other/axii/armarx_setup/core/util/commands.py", line 208, in buffer_or_print
    print_fn(line)
  File "/home/christoph/Code/Other/axii/armarx_setup/core/util/commands.py", line 149, in print_stderr
    stderr_callback(text)
  File "/home/christoph/Code/Other/axii/armarx_setup/cli/common.py", line 66, in stderr_callback_overloaded
    error_console.print(text, **rich_out_args)
  File "/home/christoph/Code/Other/axii/.venv/lib/python3.10/site-packages/rich/console.py", line 1568, in print
    renderables = self._collect_renderables(
  File "/home/christoph/Code/Other/axii/.venv/lib/python3.10/site-packages/rich/console.py", line 1433, in _collect_renderables
    self.render_str(
  File "/home/christoph/Code/Other/axii/.venv/lib/python3.10/site-packages/rich/console.py", line 1317, in render_str
    rich_text = render_markup(
  File "/home/christoph/Code/Other/axii/.venv/lib/python3.10/site-packages/rich/markup.py", line 159, in render
    raise MarkupError(
rich.errors.MarkupError: closing tag '[/home/christoph/Code/Cpp/ax_default/h2t/PriorKnowledgeData/build/lib]' at position 13 doesn't match any open tag