Made the .so generated be versioned so that packagers can package it easier for the purpose of putting cAudio into repositories

This commit is contained in:
Brigham Keys, Esq 2016-08-01 14:08:19 -05:00
parent 3b9fd6e4df
commit 9b6b2f4853
1 changed files with 3 additions and 0 deletions

View File

@ -26,6 +26,9 @@ else()
target_link_libraries(cAudio ${OPENAL_LIBRARIES})
endif()
set_property(TARGET ${CMAKE_PROJECT_NAME} PROPERTY VERSION "2.3.0")
set_property(TARGET ${CMAKE_PROJECT_NAME} PROPERTY SOVERSION 2 )
if (APPLE AND CAUDIO_IOS_BUILD)
set_target_properties(cAudio PROPERTIES XCODE_ATTRIBUTE_GCC_THUMB_SUPPORT "NO")
set_target_properties(cAudio PROPERTIES XCODE_ATTRIBUTE_GCC_UNROLL_LOOPS "YES")