From ce52a2c820b60d8a44476b42d261248e809c7c62 Mon Sep 17 00:00:00 2001 From: Maxim Akhmedov Date: Thu, 28 May 2020 19:44:30 +0300 Subject: [PATCH] Add lost VERSION_* defines to ya.make.versions.inc --- cmake/yandex/ya.make.versions.inc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/cmake/yandex/ya.make.versions.inc b/cmake/yandex/ya.make.versions.inc index 5c3c5eabb60..3ac401cb108 100644 --- a/cmake/yandex/ya.make.versions.inc +++ b/cmake/yandex/ya.make.versions.inc @@ -11,6 +11,9 @@ CFLAGS (GLOBAL -DDBMS_VERSION_MAJOR=${VERSION_MAJOR}) CFLAGS (GLOBAL -DDBMS_VERSION_MINOR=${VERSION_MINOR}) CFLAGS (GLOBAL -DDBMS_VERSION_PATCH=${VERSION_PATCH}) CFLAGS (GLOBAL -DVERSION_FULL=\"\\\"${VERSION_FULL}\\\"\") +CFLAGS (GLOBAL -DVERSION_MAJOR=${VERSION_MAJOR}) +CFLAGS (GLOBAL -DVERSION_MINOR=${VERSION_MINOR}) +CFLAGS (GLOBAL -DVERSION_PATCH=${VERSION_PATCH}) # TODO: not supported yet, not sure if ya.make supports arithmetics. CFLAGS (GLOBAL -DVERSION_INTEGER=0)