From e0f78079800c99b1499fe84c999bc588c78a0bc4 Mon Sep 17 00:00:00 2001 From: Volker Krause Date: Sat, 17 Feb 2018 12:31:35 +0100 Subject: Remove obsolete policy settings Summary: Those affect policy propagation and search path order for relative includes in CMake code, none of which is needed here. This silences a ton of warnings with CMake 3.10. Reviewers: #build_system, apol Reviewed By: apol Subscribers: #frameworks Tags: #frameworks, #build_system Differential Revision: https://phabricator.kde.org/D10602 --- toolchain/Android.cmake | 3 --- 1 file changed, 3 deletions(-) (limited to 'toolchain/Android.cmake') diff --git a/toolchain/Android.cmake b/toolchain/Android.cmake index d482517b..0a856a6b 100644 --- a/toolchain/Android.cmake +++ b/toolchain/Android.cmake @@ -151,9 +151,6 @@ string(TOLOWER "${_HOST}" _HOST) get_filename_component(_CMAKE_ANDROID_DIR "${CMAKE_TOOLCHAIN_FILE}" PATH) -cmake_policy(SET CMP0011 OLD) -cmake_policy(SET CMP0017 OLD) - set(CMAKE_SYSROOT "${ANDROID_NDK}/platforms/android-${ANDROID_API_LEVEL}/arch-${ANDROID_ARCHITECTURE}") if(NOT EXISTS ${CMAKE_SYSROOT}) -- cgit v1.2.1