From c9a460e336631ed3d21e6f870d4137d5e98c30a7 Mon Sep 17 00:00:00 2001 From: Anders Larsen Date: Mon, 9 Apr 2012 17:29:24 +0200 Subject: [PATCH] Bump the library version number to 2.0.0 Allow libftdi-1.0 to co-exist with libftdi-0.x to ease migration. Signed-off-by: Anders Larsen --- CMakeLists.txt | 4 ++-- ftdipp/CMakeLists.txt | 2 +- src/CMakeLists.txt | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 67f0c22..4c43a48 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,7 +1,7 @@ # Project project(libftdi) -set(MAJOR_VERSION 0) -set(MINOR_VERSION 99) +set(MAJOR_VERSION 1) +set(MINOR_VERSION 0) set(VERSION_STRING ${MAJOR_VERSION}.${MINOR_VERSION}) SET(CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}") diff --git a/ftdipp/CMakeLists.txt b/ftdipp/CMakeLists.txt index ced58b3..23000c9 100644 --- a/ftdipp/CMakeLists.txt +++ b/ftdipp/CMakeLists.txt @@ -25,7 +25,7 @@ if (FTDIPP) 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) + set_target_properties(ftdipp PROPERTIES VERSION ${VERSION_FIXUP}.${MINOR_VERSION}.0 SOVERSION 2) # Static library add_library(ftdipp-static STATIC ${cpp_sources}) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index b7ae085..7ce9eda 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -24,7 +24,7 @@ set(c_headers ftdi.h) add_library(ftdi SHARED ${c_sources}) math(EXPR VERSION_FIXUP "${MAJOR_VERSION} + 1") # Compatiblity with previous releases -set_target_properties(ftdi PROPERTIES VERSION ${VERSION_FIXUP}.${MINOR_VERSION}.0 SOVERSION 1) +set_target_properties(ftdi PROPERTIES VERSION ${VERSION_FIXUP}.${MINOR_VERSION}.0 SOVERSION 2) # Static library add_library(ftdi-static STATIC ${c_sources}) -- 1.7.1