summaryrefslogtreecommitdiffstats
path: root/cmake
diff options
context:
space:
mode:
authorarcadia-devtools <[email protected]>2022-04-14 10:36:52 +0300
committerarcadia-devtools <[email protected]>2022-04-14 10:36:52 +0300
commit294e096403e4199169b25f935cb11b0b5933d381 (patch)
tree7f92ac722bf49174f66b84cbaf04b6917775e347 /cmake
parentac23c6affedcfe1277c832bca3fc61040189ff1c (diff)
intermediate changes
ref:0f33437ec0a1fe7cc7943f853b6182e039d999ff
Diffstat (limited to 'cmake')
-rw-r--r--cmake/yandex_common.cmake2
1 files changed, 2 insertions, 0 deletions
diff --git a/cmake/yandex_common.cmake b/cmake/yandex_common.cmake
index 0701afbda60..b6c43937b46 100644
--- a/cmake/yandex_common.cmake
+++ b/cmake/yandex_common.cmake
@@ -3,6 +3,8 @@
find_package(Python2 REQUIRED)
find_package(Python3 REQUIRED)
+add_compile_definitions(CATBOOST_OPENSOURCE=yes)
+
function(target_ragel_lexers TgtName Key Src)
SET(RAGEL_BIN ${CMAKE_BINARY_DIR}/bin/ragel)
get_filename_component(OutPath ${Src} NAME)