Skip to content
Snippets Groups Projects
Commit 91a362d2 authored by Haibo Huang's avatar Haibo Huang
Browse files

Android: Drop redundant setting of CMP0057 in Android-Determine

A module-wide setting was added by commit 8ede3552 (IN_LIST: Ensure
policy allows if(IN_LIST) if used by a module, 2018-09-12,
v3.13.0-rc1~95^2), so our local setting is no longer needed.
parent 0b082c52
No related branches found
No related tags found
No related merge requests found
......@@ -320,15 +320,12 @@ if(NOT CMAKE_ANDROID_ARCH_ABI)
# Choose the oldest among the available arm ABIs.
if(_ANDROID_ABIS)
list(REMOVE_DUPLICATES _ANDROID_ABIS)
cmake_policy(PUSH)
cmake_policy(SET CMP0057 NEW)
foreach(abi armeabi armeabi-v7a arm64-v8a)
if("${abi}" IN_LIST _ANDROID_ABIS)
set(CMAKE_ANDROID_ARCH_ABI "${abi}")
break()
endif()
endforeach()
cmake_policy(POP)
endif()
unset(_ANDROID_ABIS)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment