doc: use FIND_PROGRAM for sphinx binary instead of hardcoding for Python3 In Ubuntu et al. there is no sphinx-build-3 even with Python3, as Python2 has been removed. Use CMake’s FIND_PROGRAM instead of harcoding the name, so that the correct one can be found dynamically and work everywhere.
doc: use FIND_PROGRAM for sphinx binary instead of hardcoding for Python3
In Ubuntu et al. there is no sphinx-build-3 even with Python3, as Python2 has been removed. Use CMake’s FIND_PROGRAM instead of harcoding the name, so that the correct one can be found dynamically and work everywhere.
©Copyright 2023 CCF 开源发展委员会 Powered by Trustie& IntelliDE 京ICP备13000930号