aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrobot-ya-builder <robot-ya-builder@yandex-team.com>2023-04-13 09:13:54 +0300
committerrobot-ya-builder <robot-ya-builder@yandex-team.com>2023-04-13 09:13:54 +0300
commitc9b2ab6d144cb6e6687e42c3ad21f2bb1e37e817 (patch)
tree4c3c49312beb7e7e629fb613a7e9224017963fe0
parentfc501a5b7be491c35fb1c12a742dec9e89c39dff (diff)
downloadydb-c9b2ab6d144cb6e6687e42c3ad21f2bb1e37e817.tar.gz
External build system generator release 27
Update tools: yexport
-rw-r--r--cmake/bison.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/bison.cmake b/cmake/bison.cmake
index df444f031e..38d2b91ff9 100644
--- a/cmake/bison.cmake
+++ b/cmake/bison.cmake
@@ -13,7 +13,7 @@ function(target_bison_parser Tgt Scope)
add_custom_command(
OUTPUT ${OutputDir}/${OutputBase}.cpp ${OutputDir}/${OutputBase}.h
COMMAND ${CMAKE_COMMAND} -E make_directory ${OutputDir}
- COMMAND ${CMAKE_BINARY_DIR}/bin/bison/bin/bison ${BISON_FLAGS} -v --defines=${OutputDir}/${OutputBase}.h -o ${OutputDir}/${OutputBase}.cpp ${arg}
+ COMMAND ${CMAKE_COMMAND} -E env M4=${CMAKE_BINARY_DIR}/bin/m4/bin/m4 ${CMAKE_BINARY_DIR}/bin/bison/bin/bison ${BISON_FLAGS} -v --defines=${OutputDir}/${OutputBase}.h -o ${OutputDir}/${OutputBase}.cpp ${arg}
DEPENDS ${arg}
)
target_sources(${Tgt} ${Scope} ${OutputDir}/${OutputBase}.cpp ${OutputDir}/${OutputBase}.h)