未验证 提交 7e9b20b5 编写于 作者: Z zyfncg 提交者: GitHub

fix python command in cmake of api-gen (#37818)

上级 c077de3c
...@@ -24,7 +24,7 @@ set(api_source_file_tmp ${api_source_file}.tmp) ...@@ -24,7 +24,7 @@ set(api_source_file_tmp ${api_source_file}.tmp)
add_custom_command( add_custom_command(
OUTPUT ${api_header_file} ${api_source_file} OUTPUT ${api_header_file} ${api_source_file}
COMMAND python ${api_gen_file} COMMAND ${PYTHON_EXECUTABLE} ${api_gen_file}
--api_yaml_path ${api_yaml_file} --api_yaml_path ${api_yaml_file}
--api_header_path ${api_header_file_tmp} --api_header_path ${api_header_file_tmp}
--api_source_path ${api_source_file_tmp} --api_source_path ${api_source_file_tmp}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册