From 800909073dc1c60f95f76f15111d8e10a6d1e76c Mon Sep 17 00:00:00 2001 From: Ghislain MARY Date: Tue, 6 Jan 2015 17:36:40 +0100 Subject: [PATCH] Set correct soversion when building with CMake. --- coreapi/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/coreapi/CMakeLists.txt b/coreapi/CMakeLists.txt index 541e0d670..4c35d14a7 100644 --- a/coreapi/CMakeLists.txt +++ b/coreapi/CMakeLists.txt @@ -139,7 +139,7 @@ if(ENABLE_STATIC) target_link_libraries(linphone ${LIBS}) else() add_library(linphone SHARED ${SOURCE_FILES} ${GENERATED_SOURCE_FILES}) - set_target_properties(linphone PROPERTIES VERSION ${LINPHONE_VERSION} SOVERSION ${LINPHONE_SO_VERSION} LINKER_LANGUAGE CXX) + set_target_properties(linphone PROPERTIES VERSION ${LINPHONE_SO_VERSION} LINKER_LANGUAGE CXX) target_link_libraries(linphone ${LIBS}) if(MSVC) if(CMAKE_BUILD_TYPE STREQUAL "Debug")