mdbx-cmake: fix so-version.

Change-Id: I427d2f27f9092d65a0ffd11353ca466070e98618
This commit is contained in:
Leo Yuriev 2018-07-31 11:54:26 +03:00 committed by Leonid Yuriev
parent 9a1ef8acfb
commit c9790b28d0

View File

@ -102,14 +102,14 @@ add_library(${TARGET}_SHARED SHARED
set_target_properties(${TARGET}_SHARED PROPERTIES set_target_properties(${TARGET}_SHARED PROPERTIES
VERSION ${MDBX_VERSION_STRING} VERSION ${MDBX_VERSION_STRING}
SOVERSION ${MDBX_VERSION_MAJOR} SOVERSION ${MDBX_VERSION_MAJOR}.${MDBX_VERSION_MINOR}
OUTPUT_NAME ${TARGET} OUTPUT_NAME ${TARGET}
CLEAN_DIRECT_OUTPUT 1 CLEAN_DIRECT_OUTPUT 1
) )
set_target_properties(${TARGET}_STATIC PROPERTIES set_target_properties(${TARGET}_STATIC PROPERTIES
VERSION ${MDBX_VERSION_STRING} VERSION ${MDBX_VERSION_STRING}
SOVERSION ${MDBX_VERSION_MAJOR} SOVERSION ${MDBX_VERSION_MAJOR}.${MDBX_VERSION_MINOR}
OUTPUT_NAME ${TARGET} OUTPUT_NAME ${TARGET}
CLEAN_DIRECT_OUTPUT 1 CLEAN_DIRECT_OUTPUT 1
) )