Change-Id: I970bcb0fc0cb9edc3b46d2f1f95a5b4385a52b1e
Signed-off-by: Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org>
CMAKE_MINIMUM_REQUIRED(VERSION 2.6)
PROJECT(bundle C)
+set (VERSION "0.1.31")
### Required packages
INCLUDE(FindPkgConfig)
src/keyval_array.c
)
set_target_properties(bundle PROPERTIES SOVERSION "0")
-set_target_properties(bundle PROPERTIES VERSION "0.1.31")
+set_target_properties(bundle PROPERTIES VERSION "${VERSION}")
message(STATUS "Version from debian/changelog: ${VERSION}, Major version: ${VERSION_MAJOR}")
target_link_libraries(bundle ${pkgs_LDFLAGS})