[gemrb] 02/03: DEBIAN: Add GemRB version number to gemrb_core library.

Beren Minor berenm-guest at alioth.debian.org
Fri Aug 16 19:13:17 UTC 2013


This is an automated email from the git hooks/post-receive script.

berenm-guest pushed a commit to branch patch-queue/master
in repository gemrb.

commit 23623605abc9b739a415627be1fe7bc12ace28aa
Author: Beren Minor <beren.minor+debian at gmail.com>
Date:   Sun Feb 5 20:41:37 2012 +0100

    DEBIAN: Add GemRB version number to gemrb_core library.
---
 gemrb/core/CMakeLists.txt |    3 +++
 1 file changed, 3 insertions(+)

diff --git a/gemrb/core/CMakeLists.txt b/gemrb/core/CMakeLists.txt
index bc27fd3..81dbdc2 100644
--- a/gemrb/core/CMakeLists.txt
+++ b/gemrb/core/CMakeLists.txt
@@ -151,9 +151,12 @@ else (STATIC_LINK)
 	ENDIF(WIN32)
 endif (STATIC_LINK)
 
+STRING(REGEX REPLACE "\\..*$" "" GEMRB_SOVERSION "${GEMRB_VERSION}")
 SET_TARGET_PROPERTIES(gemrb_core PROPERTIES
 	COMPILE_DEFINITIONS
 	"PLUGINDIR=\"${PLUGIN_DIR}\";DATADIR=\"${DATA_DIR}\";SYSCONFDIR=\"${SYSCONF_DIR}\""
+	VERSION ${GEMRB_VERSION}
+	SOVERSION ${GEMRB_SOVERSION}
 	)
 
 IF (APPLE)

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/gemrb.git



More information about the Pkg-games-commits mailing list