The branch, master has been updated
via 52448565feff5a91cb42df91b0aad64c3abd380c (commit)
from b80aee72c93847f79295722315e53fb898b46a27 (commit)
- Log -----------------------------------------------------------------
commit 52448565feff5a91cb42df91b0aad64c3abd380c
Author: Thomas Jarosch <thomas.jarosch@xxxxxxxxxxxxx>
Date: Mon Mar 16 21:35:39 2009 +0100
Set VERSION and SOVERSION on shared libraries (compatible with versions
from the autoconf suite)
-----------------------------------------------------------------------
Summary of changes:
ftdipp/CMakeLists.txt | 3 +++
src/CMakeLists.txt | 3 +++
2 files changed, 6 insertions(+), 0 deletions(-)
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")
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index e1ab82d..0a6a917 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -9,6 +9,9 @@ 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)
+
# Static library
add_library(ftdi-static STATIC ${c_sources})
set_target_properties(ftdi-static PROPERTIES OUTPUT_NAME "ftdi")
hooks/post-receive
--
A library to talk to FTDI chips
--
libftdi-git - see http://www.intra2net.com/en/developer/libftdi for details.
To unsubscribe send a mail to libftdi-git+unsubscribe@xxxxxxxxxxxxxxxxxxxxxxx
|