wasm: remove internal unsupported libraries from build

we have no access to system devices, so no need for discovery
or framebuffer.

Change-Id: Ie697f4b24b3a38efeff67fc670549a055da57745
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
This commit is contained in:
Lorn Potter 2025-01-21 14:16:35 +10:00
parent 44b513f192
commit cdcfaf796e

View File

@ -1,8 +1,10 @@
# Copyright (C) 2022 The Qt Company Ltd.
# SPDX-License-Identifier: BSD-3-Clause
add_subdirectory(devicediscovery)
add_subdirectory(fbconvenience)
if(NOT WASM)
add_subdirectory(devicediscovery)
add_subdirectory(fbconvenience)
endif()
if(QT_FEATURE_evdev OR QT_FEATURE_integrityhid OR QT_FEATURE_libinput OR QT_FEATURE_tslib OR QT_FEATURE_xkbcommon OR QT_FEATURE_vxworksevdev)
add_subdirectory(input)
endif()