From 2b05c324368c9a244a7805421942c7e98b0209aa Mon Sep 17 00:00:00 2001 From: Dale Glass Date: Sat, 30 Jan 2021 22:56:29 +0100 Subject: [PATCH] Don't depend on screenshare on Android --- interface/CMakeLists.txt | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/interface/CMakeLists.txt b/interface/CMakeLists.txt index 142fda15ce..9710aa53e8 100644 --- a/interface/CMakeLists.txt +++ b/interface/CMakeLists.txt @@ -197,9 +197,7 @@ if (BUILD_TOOLS AND NPM_EXECUTABLE) add_dependencies(resources jsdoc) endif() -if (WIN32 OR APPLE) - add_dependencies(${TARGET_NAME} resources) -if (WIN32 OR APPLE OR UNIX) +if ((WIN32 OR APPLE OR UNIX) AND NOT ANDROID) add_dependencies(${TARGET_NAME} resources screenshare) endif()