mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-05-07 05:53:06 +00:00
Updated CMakeLists to use ENABLE_ARCH_SUFFIX option
This commit is contained in:
parent
5cde30dae7
commit
575d79ee14
1 changed files with 5 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue