You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
include(Platform/Linux)
|
|
|
|
|
|
|
|
set(ANDROID 1)
|
|
|
|
|
|
|
|
# Conventionally Android does not use versioned soname
|
|
|
|
# But in modern versions it is acceptable
|
|
|
|
if(NOT DEFINED CMAKE_PLATFORM_NO_VERSIONED_SONAME)
|
|
|
|
set(CMAKE_PLATFORM_NO_VERSIONED_SONAME 1)
|
|
|
|
endif()
|
|
|
|
|
|
|
|
# Android reportedly ignores RPATH, and we cannot predict the install
|
|
|
|
# location anyway.
|
|
|
|
set(CMAKE_SHARED_LIBRARY_RUNTIME_C_FLAG "")
|
|
|
|
|
|
|
|
# Nsight Tegra Visual Studio Edition takes care of
|
|
|
|
# prefixing library names with '-l'.
|
|
|
|
if(CMAKE_VS_PLATFORM_NAME STREQUAL "Tegra-Android")
|
|
|
|
set(CMAKE_LINK_LIBRARY_FLAG "")
|
|
|
|
endif()
|