📅  最后修改于: 2022-03-11 14:45:47.733000             🧑  作者: Mango
#"This pretty much always finds the wrong interpreter for me,
# it's just a light helper on top of FindPythonLibs/Interp that
# favors Python 3, which were abandoned by CMake because they
# has so many problems."
#Change python version accordingly:
cmake .. -DPYTHON_EXECUTABLE=/usr/bin/python3.6