Doc: use unversioned variant of CMake _add_statecharts command


While at it, also make it a link.

Pick-to: 6.8
Change-Id: I61128611e18bb7c927009d24dae18504bcd54648
Reviewed-by: Juha Vuolle <juha.vuolle@qt.io>
commitc149cf29e7f59931cbd166925d9db77c72fc5e5b
parent6e0374bbcc90880fc0bf522cb5497ced5d57934f
authorKai Köhne <kai.koehne@qt.io>
committerKai Köhne <kai.koehne@qt.io>
commit timeFri, 22 Nov 2024 15:19:57 +0100