Commit 40feb7a5 authored by Ghislain MARY's avatar Ghislain MARY

Do not version shared library on Android.

parent 5e99cf5e
......@@ -96,9 +96,11 @@ if(ENABLE_STATIC)
endif()
if(ENABLE_SHARED)
add_library(ortp SHARED ${ORTP_HEADER_FILES} ${ORTP_SOURCE_FILES_C} ${ORTP_SOURCE_FILES_CXX})
set_target_properties(ortp PROPERTIES VERSION ${ORTP_SO_VERSION})
if(ANDROID)
set_target_properties(ortp PROPERTIES OUTPUT_NAME "ortp-${CMAKE_SYSTEM_PROCESSOR}")
else()
# Do not version shared library on Android
set_target_properties(ortp PROPERTIES SOVERSION ${ORTP_SO_VERSION})
endif()
target_link_libraries(ortp ${LIBS})
if(MSVC)
......
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