diff options
author | Brad King <brad.king@kitware.com> | 2023-07-13 12:18:59 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2023-07-13 12:19:15 (GMT) |
commit | bfe4722a61a16f6fda6b1509610d07c8830967b4 (patch) | |
tree | 3d07ad22b470bcbe23fb3adf180021159549f759 /Modules/Platform/Android.cmake | |
parent | fbe5f49d63fe058277b41991cb025631093b25a2 (diff) | |
download | CMake-bfe4722a61a16f6fda6b1509610d07c8830967b4.zip CMake-bfe4722a61a16f6fda6b1509610d07c8830967b4.tar.gz CMake-bfe4722a61a16f6fda6b1509610d07c8830967b4.tar.bz2 |
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
Diffstat (limited to 'Modules/Platform/Android.cmake')
-rw-r--r-- | Modules/Platform/Android.cmake | 2 |
1 files changed, 2 insertions, 0 deletions
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() |