From 132b95190a31ef0b3256d8c43087c91bd785627f Mon Sep 17 00:00:00 2001 From: Volker Krause Date: Sat, 17 Feb 2018 10:40:38 +0100 Subject: Set ANDROID in the Android toolchain file Summary: This allows easy platforms checks in CMake files, and is the same the CMake files shipped by the Android SDK use. Reviewers: #build_system, apol Reviewed By: apol Subscribers: #frameworks Tags: #frameworks, #build_system Differential Revision: https://phabricator.kde.org/D10600 --- toolchain/Android.cmake | 1 + 1 file changed, 1 insertion(+) (limited to 'toolchain/Android.cmake') diff --git a/toolchain/Android.cmake b/toolchain/Android.cmake index 7e0dcaaf..010ea896 100644 --- a/toolchain/Android.cmake +++ b/toolchain/Android.cmake @@ -163,6 +163,7 @@ endif() #actual code SET(CMAKE_SYSTEM_NAME Android) SET(CMAKE_SYSTEM_VERSION 1) +SET(ANDROID TRUE) if (NOT DEFINED ECM_ADDITIONAL_FIND_ROOT_PATH) SET(ECM_ADDITIONAL_FIND_ROOT_PATH ${CMAKE_PREFIX_PATH}) -- cgit v1.2.1