Commit 853250f5 authored by Sylvain Berfini's avatar Sylvain Berfini 🎩

Updated CMakeLists to use ENABLE_ARCH_SUFFIX option

parent f805b5c4
......@@ -98,7 +98,11 @@ endif()
if(ENABLE_SHARED)
add_library(ortp SHARED ${ORTP_HEADER_FILES} ${ORTP_SOURCE_FILES_C} ${ORTP_SOURCE_FILES_CXX})
if(ANDROID)
set_target_properties(ortp PROPERTIES OUTPUT_NAME "ortp-${CMAKE_ANDROID_ARCH_ABI}")
if(ENABLE_ARCH_SUFFIX)
set_target_properties(ortp PROPERTIES OUTPUT_NAME "ortp-${CMAKE_ANDROID_ARCH_ABI}")
else()
set_target_properties(ortp PROPERTIES OUTPUT_NAME "ortp")
endif()
else()
# Do not version shared library on Android
set_target_properties(ortp PROPERTIES SOVERSION ${ORTP_SO_VERSION})
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment