CMake: dmabuf texture importer requires ogl and egl


In theory dmabuf support is independent from the ogl/egl texture
importer. So we guard those files with more fine-grained feature checks.

Pick-to: 6.12
Fixes: QTBUG-150059
Change-Id: I83d28df81c3d9dec9dfb7cf00a4e2e27b3adfd38
Reviewed-by: Artem Dyomin <artem.dyomin@qt.io>
commit2aaaa34e82a988ed461ff0ef7993cfb4f2b65361
parent32b655d18fb5394eaac2b30b116410803df9fedb
authorTim Blechmann <tim.blechmann@qt.io>
committerTim Blechmann <tim.blechmann@qt.io>
commit timeMon, 14 Sep 2026 08:31:08 +0000