From 77f06b145d57c4665ff5d71b89a70c54a009ad14 Mon Sep 17 00:00:00 2001 From: Stephen Kelly Date: Wed, 5 Mar 2014 09:52:45 +0100 Subject: [PATCH] Modules: Add an Andriod platform file It is much like Linux but has no SONAME or RPATH. --- Modules/Platform/Android.cmake | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 Modules/Platform/Android.cmake diff --git a/Modules/Platform/Android.cmake b/Modules/Platform/Android.cmake new file mode 100644 index 000000000..a4c122ddf --- /dev/null +++ b/Modules/Platform/Android.cmake @@ -0,0 +1,5 @@ +include(Platform/Linux) +set(CMAKE_SHARED_LIBRARY_SONAME_C_FLAG "") +# RPath is useless on Android, because we can't determine the installation +# location ahead of time. +set(CMAKE_SHARED_LIBRARY_RUNTIME_C_FLAG "")