From bfe4722a61a16f6fda6b1509610d07c8830967b4 Mon Sep 17 00:00:00 2001 From: Brad King Date: Thu, 13 Jul 2023 08:18:59 -0400 Subject: Android: Restore platform info and search paths shared with Linux These were accidentally dropped by commit 1373373823 (enable_language: Establish target platform identification variables earlier, 2023-06-06, v3.27.0-rc1~3^2~1). Fixes: #25077 --- Modules/Platform/Android.cmake | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Modules/Platform/Android.cmake b/Modules/Platform/Android.cmake index f490f0e..a240aff 100644 --- a/Modules/Platform/Android.cmake +++ b/Modules/Platform/Android.cmake @@ -4,6 +4,8 @@ if(CMAKE_ANDROID_NDK) include(${CMAKE_ANDROID_NDK}/build/cmake/hooks/pre/Android.cmake OPTIONAL) endif() +include(Platform/Linux) + # Natively compiling on an Android host doesn't need these flags to be reset. if(CMAKE_HOST_SYSTEM_NAME STREQUAL "Android") return() -- cgit v0.12