From: Thomas Jarosch Date: Fri, 21 Jul 2017 10:00:58 +0000 (+0200) Subject: C++ API: Increase .so library version X-Git-Tag: v1.4rc2~1 X-Git-Url: http://developer.intra2net.com/git/?p=libftdi;a=commitdiff_plain;h=3b7ea7ef0840b633a7f79fbb730ed353a6168448 C++ API: Increase .so library version We have an ABI break in this release (get_strings_and_reopen() changes), so programs using the C++ wrapper need to be recompiled. --- diff --git a/ftdipp/CMakeLists.txt b/ftdipp/CMakeLists.txt index 7500211..27fbe8d 100644 --- a/ftdipp/CMakeLists.txt +++ b/ftdipp/CMakeLists.txt @@ -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)