CMake: Fix in-tree build of tests


This amends commit fd3b3d1452c7118f93683f84ccf74ffe3b33e57f, which
removed the include that makes qt_opcua_generate_datatypes available to
tests.

Pick-to: 6.11
Fixes: QTBUG-142499
Change-Id: Ic3a79b2d151641ee57d07437a4bee0ed6086823c
Reviewed-by: Kai Köhne <kai.koehne@qt.io>
commitf72c53d354ac3f6b2ec0139e1c09197f6ea01b55
parent0b9a661bee78f4e3c80efd5b291036cf42e51522
authorJoerg Bornemann <joerg.bornemann@qt.io>
committerJoerg Bornemann <joerg.bornemann@qt.io>
commit timeWed, 10 Dec 2025 11:31:52 +0100