From 865f3c2a11a7e7e1dedbb216669cdc2e091f45db Mon Sep 17 00:00:00 2001 From: Tasuku Suzuki Date: Wed, 14 Apr 2021 15:04:14 +0900 Subject: [PATCH] Fix build without features.systemsemaphore Change-Id: I73059f48d37253b5f962f96f693f26c7d55a31e1 Reviewed-by: BogDan Vatra --- src/tools/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tools/CMakeLists.txt b/src/tools/CMakeLists.txt index b73c050e5b..13a870ac9e 100644 --- a/src/tools/CMakeLists.txt +++ b/src/tools/CMakeLists.txt @@ -12,7 +12,7 @@ endif() # Only include the following tools when performing a host build if(NOT CMAKE_CROSSCOMPILING) add_subdirectory(androiddeployqt) - if(QT_FEATURE_gui) + if(QT_FEATURE_gui AND QT_FEATURE_systemsemaphore) add_subdirectory(androidtestrunner) endif() endif()