CMake: Fix InputSupportPrivate build condition

Fix the condition that decides whether to build InputSupportPrivate. The
conflict resolution went wrong for
b3b836e70388edcf1d18b114cd128c7b89a79199. The point of the commit is to
disable InputSupportPrivate if QT_FEATURE_libinput is enabled but
QT_FEATURE_xkbcommon is not.

Change-Id: I58a924abcf9ab5469e14182d1fdbb3fd69c1e74f
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
This commit is contained in:
Joerg Bornemann 2025-04-11 08:43:02 +02:00
parent 62c1f8da1e
commit 06a41125b4

View File

@ -6,7 +6,6 @@ add_subdirectory(fbconvenience)
if(QT_FEATURE_evdev
OR QT_FEATURE_vxworksevdev
OR QT_FEATURE_integrityhid
OR QT_FEATURE_libinput
OR QT_FEATURE_tslib
OR (QT_FEATURE_libinput AND QT_FEATURE_xkbcommon))
add_subdirectory(input)