Increase .so version (=API version) of libi2ncommon
[libi2ncommon] / src / CMakeLists.txt
index a29c7a3..9738ebb 100644 (file)
@@ -59,7 +59,7 @@ add_library(i2ncommon SHARED ${cpp_sources} ${cpp_headers})
 
 target_link_libraries(i2ncommon ${Boost_IOSTREAMS_LIBRARIES} ${ICONV_LIBRARIES})
 
-set_target_properties(i2ncommon PROPERTIES VERSION ${VERSION} SOVERSION ${MAJOR_VERSION})
+set_target_properties(i2ncommon PROPERTIES VERSION ${VERSION} SOVERSION 3)
 
 install(TARGETS i2ncommon
         LIBRARY DESTINATION lib