diff options
author | Elias Hautala <elias.hautala@qt.io> | 2023-08-14 08:27:35 +0300 |
---|---|---|
committer | Elias Hautala <elias.hautala@qt.io> | 2023-08-21 11:16:39 +0300 |
commit | 58175a834fd4c072b8ccb9b72947ece85d4a4ed1 (patch) | |
tree | 97bb3e17920278172cbcb00c03d4c1f0e3bea3ab /examples/statemachine/pingpong | |
parent | 923fee0fb36742f6f72ba5e7a922edba51d186b7 (diff) |
Exclude pingpong and ftpclient examples from Android build
Excludes pingpong and ftpclient examples from Android build, because of
missing Qui and Quick dependencies which are needed on Android.
Task-number: QTBUG-111933
Pick-to: 6.5 6.6
Change-Id: Ie5598913f87e115d01b1cfaa6e01bf94644cd83c
Reviewed-by: Ville Voutilainen <ville.voutilainen@qt.io>
Diffstat (limited to 'examples/statemachine/pingpong')
-rw-r--r-- | examples/statemachine/pingpong/CMakeLists.txt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/examples/statemachine/pingpong/CMakeLists.txt b/examples/statemachine/pingpong/CMakeLists.txt index 040b004..ece2158 100644 --- a/examples/statemachine/pingpong/CMakeLists.txt +++ b/examples/statemachine/pingpong/CMakeLists.txt @@ -4,6 +4,10 @@ cmake_minimum_required(VERSION 3.16) project(pingpong LANGUAGES CXX) +if (ANDROID) + message(FATAL_ERROR "This project cannot be built on Android.") +endif() + if(NOT DEFINED INSTALL_EXAMPLESDIR) set(INSTALL_EXAMPLESDIR "examples") endif() |