Fix build with Emscripten

Don't try to build the ibus input context plugin when targeting
Emscripten, as there's no ibus there.

Change-Id: I949a09c4bacd3136b632e597dd8048653d0c0fea
Reviewed-by: Qt CMake Build Bot
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
This commit is contained in:
Simon Hausmann 2019-08-28 16:09:24 +02:00
parent d436023b6a
commit 84238ab321

View File

@ -1,5 +1,5 @@
if(QT_FEATURE_dbus AND (NOT APPLE_OSX) AND (NOT WIN32))
if(QT_FEATURE_dbus AND (NOT APPLE_OSX) AND (NOT WIN32) AND (NOT EMSCRIPTEN))
add_subdirectory(ibus)
endif()