summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2014-03-05 08:52:45 (GMT)
committerBrad King <brad.king@kitware.com>2014-03-20 13:04:31 (GMT)
commit77f06b145d57c4665ff5d71b89a70c54a009ad14 (patch)
tree0124ca4a3a4561c2dddb1870dbd05ec43fe2057a /Modules
parent3c6943eb9da3695316b807f59ba42a1b105a7afb (diff)
downloadCMake-77f06b145d57c4665ff5d71b89a70c54a009ad14.zip
CMake-77f06b145d57c4665ff5d71b89a70c54a009ad14.tar.gz
CMake-77f06b145d57c4665ff5d71b89a70c54a009ad14.tar.bz2
Modules: Add an Andriod platform file
It is much like Linux but has no SONAME or RPATH.
Diffstat (limited to 'Modules')
-rw-r--r--Modules/Platform/Android.cmake5
1 files changed, 5 insertions, 0 deletions
diff --git a/Modules/Platform/Android.cmake b/Modules/Platform/Android.cmake
new file mode 100644
index 0000000..a4c122d
--- /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 "")