summaryrefslogtreecommitdiffstats
path: root/Modules/Platform/Android.cmake
blob: e6d4fcfe947c7c7b204d14ed125726087251eb27 (plain)
1
2
3
4
5
6
7
8
9
include(Platform/Linux)

# Android has soname, but binary names must end in ".so" so we cannot append
# a version number.  Also we cannot portably represent symlinks on the host.
set(CMAKE_PLATFORM_NO_VERSIONED_SONAME 1)

# Android reportedly ignores RPATH, and we cannot predict the install
# location anyway.
set(CMAKE_SHARED_LIBRARY_RUNTIME_C_FLAG "")