Commit 575d79ee authored by Sylvain Berfini's avatar Sylvain Berfini 🎩
Browse files

Updated CMakeLists to use ENABLE_ARCH_SUFFIX option

parent 5cde30da
......@@ -241,7 +241,11 @@ if(ENABLE_SHARED)
set_target_properties(linphone PROPERTIES PREFIX "lib")
elseif(ANDROID)
target_link_libraries(linphone PUBLIC "log" ${SUPPORT_LIBRARIES} ${CPUFEATURES_LIBRARIES})
set_target_properties(linphone PROPERTIES OUTPUT_NAME "linphone-${CMAKE_ANDROID_ARCH_ABI}")
if(ENABLE_ARCH_SUFFIX)
set_target_properties(linphone PROPERTIES OUTPUT_NAME "linphone-${CMAKE_ANDROID_ARCH_ABI}")
else()
set_target_properties(linphone PROPERTIES OUTPUT_NAME "linphone")
endif()
add_dependencies(linphone linphonecore-jni-header)
endif()
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