diff options
author | Volker Krause <vkrause@kde.org> | 2018-02-17 12:31:35 +0100 |
---|---|---|
committer | Volker Krause <vkrause@kde.org> | 2018-02-18 15:35:47 +0100 |
commit | e0f78079800c99b1499fe84c999bc588c78a0bc4 (patch) | |
tree | 8f92fc242a2b5daf3e156f9e773aaa1bb0a80868 | |
parent | 37c2eba2885591d0b3acf53b67493f6800c9d4c4 (diff) | |
download | extra-cmake-modules-e0f78079800c99b1499fe84c999bc588c78a0bc4.tar.gz extra-cmake-modules-e0f78079800c99b1499fe84c999bc588c78a0bc4.tar.bz2 |
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
-rw-r--r-- | toolchain/Android.cmake | 3 |
1 files changed, 0 insertions, 3 deletions
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}) |