Skip to content
This repository has been archived by the owner on Sep 22, 2022. It is now read-only.

Commit

Permalink
mdbx-rpm: fix version for rpm.
Browse files Browse the repository at this point in the history
Change-Id: I7049903c02963a0d581328ee5ca23af9a1a8bfc0
  • Loading branch information
erthink committed Sep 25, 2018
1 parent 2689d0a commit e819099
Showing 1 changed file with 5 additions and 14 deletions.
19 changes: 5 additions & 14 deletions packages/rpm/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,10 @@ cmake_minimum_required(VERSION 2.8.7)
set(TARGET mdbx)
project(${TARGET})

message(WARNING "
***************************************************************
MDBX is under active development, database format and API
aren't stable at least until 2018Q3. New version won't be
backwards compatible. Main focus of the rework is to provide
clear and robust API and new features.
***************************************************************
")

set(MDBX_VERSION_MAJOR 0)
set(MDBX_VERSION_MINOR 1)
set(MDBX_VERSION_RELEASE 3)
set(MDBX_VERSION_REVISION 1)
set(MDBX_VERSION_MINOR 2)
set(MDBX_VERSION_RELEASE 0)
set(MDBX_VERSION_REVISION 0)

set(MDBX_VERSION_STRING ${MDBX_VERSION_MAJOR}.${MDBX_VERSION_MINOR}.${MDBX_VERSION_RELEASE})

Expand Down Expand Up @@ -111,14 +102,14 @@ add_library(${TARGET}_SHARED SHARED

set_target_properties(${TARGET}_SHARED PROPERTIES
VERSION ${MDBX_VERSION_STRING}
SOVERSION ${MDBX_VERSION_MAJOR}
SOVERSION ${MDBX_VERSION_MAJOR}.${MDBX_VERSION_MINOR}
OUTPUT_NAME ${TARGET}
CLEAN_DIRECT_OUTPUT 1
)

set_target_properties(${TARGET}_STATIC PROPERTIES
VERSION ${MDBX_VERSION_STRING}
SOVERSION ${MDBX_VERSION_MAJOR}
SOVERSION ${MDBX_VERSION_MAJOR}.${MDBX_VERSION_MINOR}
OUTPUT_NAME ${TARGET}
CLEAN_DIRECT_OUTPUT 1
)
Expand Down

0 comments on commit e819099

Please sign in to comment.