X-Git-Url: http://developer.intra2net.com/git/?a=blobdiff_plain;f=ftdipp%2FCMakeLists.txt;fp=ftdipp%2FCMakeLists.txt;h=aff4ca39f97a7da4792103b897d6685c414c9602;hb=52448565feff5a91cb42df91b0aad64c3abd380c;hp=66efc32b595750d7ad460e85a85030820bd09c46;hpb=b80aee72c93847f79295722315e53fb898b46a27;p=libftdi diff --git a/ftdipp/CMakeLists.txt b/ftdipp/CMakeLists.txt index 66efc32..aff4ca3 100644 --- a/ftdipp/CMakeLists.txt +++ b/ftdipp/CMakeLists.txt @@ -20,6 +20,9 @@ message(STATUS "Building libftdi++") # Targets add_library(ftdipp SHARED ${cpp_sources}) +math(EXPR VERSION_FIXUP "${MAJOR_VERSION} + 1") # Compatiblity with previous releases +set_target_properties(ftdipp PROPERTIES VERSION ${VERSION_FIXUP}.${MINOR_VERSION}.0 SOVERSION 1) + # Static library add_library(ftdipp-static STATIC ${cpp_sources}) set_target_properties(ftdipp-static PROPERTIES OUTPUT_NAME "ftdipp")