aboutsummaryrefslogtreecommitdiffstats
path: root/cmake
diff options
context:
space:
mode:
authorsvidyuk <svidyuk@yandex-team.com>2022-08-12 15:41:10 +0300
committersvidyuk <svidyuk@yandex-team.com>2022-08-12 15:41:10 +0300
commit5be89268c865142f64d1abd50c7bcff214d1f25e (patch)
treeb4cd2d39ac8d3e758173abb4db591f541e5d1fe0 /cmake
parent6c241cd030e88d0fa37bb918770ebf5d137f755e (diff)
downloadydb-5be89268c865142f64d1abd50c7bcff214d1f25e.tar.gz
Release new yexport version
Diffstat (limited to 'cmake')
-rw-r--r--cmake/yandex_common.cmake4
1 files changed, 2 insertions, 2 deletions
diff --git a/cmake/yandex_common.cmake b/cmake/yandex_common.cmake
index f54398077e..4e1d01dfd1 100644
--- a/cmake/yandex_common.cmake
+++ b/cmake/yandex_common.cmake
@@ -11,7 +11,7 @@ function(target_ragel_lexers TgtName Key Src)
string(APPEND OutPath .cpp)
add_custom_command(
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/${OutPath}
- COMMAND Python2::Interpreter ${CMAKE_SOURCE_DIR}/build/scripts/run_tool.py -- ${RAGEL_BIN} ${RAGEL_FLAGS} ${ARGN} -o ${CMAKE_CURRENT_BINARY_DIR}/${OutPath} ${Src}
+ COMMAND Python3::Interpreter ${CMAKE_SOURCE_DIR}/build/scripts/run_tool.py -- ${RAGEL_BIN} ${RAGEL_FLAGS} ${ARGN} -o ${CMAKE_CURRENT_BINARY_DIR}/${OutPath} ${Src}
DEPENDS ${CMAKE_SOURCE_DIR}/build/scripts/run_tool.py ${Src}
)
target_sources(${TgtName} ${Key} ${CMAKE_CURRENT_BINARY_DIR}/${OutPath})
@@ -23,7 +23,7 @@ function(target_yasm_source TgtName Key Src)
string(APPEND OutPath .o)
add_custom_command(
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/${OutPath}
- COMMAND Python2::Interpreter ${CMAKE_SOURCE_DIR}/build/scripts/run_tool.py -- ${YASM_BIN} ${YASM_FLAGS} ${ARGN} -o ${CMAKE_CURRENT_BINARY_DIR}/${OutPath} ${Src}
+ COMMAND Python3::Interpreter ${CMAKE_SOURCE_DIR}/build/scripts/run_tool.py -- ${YASM_BIN} ${YASM_FLAGS} ${ARGN} -o ${CMAKE_CURRENT_BINARY_DIR}/${OutPath} ${Src}
DEPENDS ${CMAKE_SOURCE_DIR}/build/scripts/run_tool.py ${Src}
)
target_sources(${TgtName} ${Key} ${CMAKE_CURRENT_BINARY_DIR}/${OutPath})