C++ API: Increase .so library version
authorThomas Jarosch <thomas.jarosch@intra2net.com>
Fri, 21 Jul 2017 10:00:58 +0000 (12:00 +0200)
committerThomas Jarosch <thomas.jarosch@intra2net.com>
Fri, 21 Jul 2017 10:00:59 +0000 (12:00 +0200)
We have an ABI break in this release (get_strings_and_reopen() changes),
so programs using the C++ wrapper need to be recompiled.

ftdipp/CMakeLists.txt

index 7500211..27fbe8d 100644 (file)
@@ -27,7 +27,7 @@ if (FTDIPP)
     add_library(ftdipp1 SHARED ${cpp_sources})
 
     math(EXPR VERSION_FIXUP "${MAJOR_VERSION} + 1")    # Compatiblity with previous releases
-    set_target_properties(ftdipp1 PROPERTIES VERSION ${VERSION_FIXUP}.${MINOR_VERSION}.0 SOVERSION 2)
+    set_target_properties(ftdipp1 PROPERTIES VERSION ${VERSION_FIXUP}.${MINOR_VERSION}.0 SOVERSION 3)
 
     # Prevent clobbering each other during the build
     set_target_properties(ftdipp1 PROPERTIES CLEAN_DIRECT_OUTPUT 1)