未验证 提交 00c9aeb0 编写于 作者: zhouweiwei2014's avatar zhouweiwei2014 提交者: GitHub

fix bug that cmake find python (#35304)

上级 2f3b393d
......@@ -27,7 +27,7 @@ print(s.get_config_var('LDVERSION') or s.get_config_var('VERSION'));
OUTPUT_VARIABLE _PYTHON_VALUES
ERROR_VARIABLE _PYTHON_ERROR_VALUE)
if(NOT _PYTHON_SUCCESS MATCHES 0)
if(NOT _PYTHON_SUCCESS EQUAL 0)
set(PYTHONLIBS_FOUND FALSE)
return()
endif()
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册