diff options
author | Ryan Volz <ryan.volz@gmail.com> | 2020-10-01 14:41:49 -0400 |
---|---|---|
committer | Martin Braun <martin@gnuradio.org> | 2020-10-05 10:36:25 +0200 |
commit | b0f10e0451bcdf324eeca86a9c3cf0130d4e263a (patch) | |
tree | c0148a07e80ee42b8541166d0eff60ae0759d626 /docs | |
parent | c86f5684a6cdd5623ecb842bed060edc69abb82a (diff) |
cmake: doxygen: Use ${PYTHON_EXECUTABLE} instead of python3.
Diffstat (limited to 'docs')
-rw-r--r-- | docs/doxygen/CMakeLists.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/doxygen/CMakeLists.txt b/docs/doxygen/CMakeLists.txt index 09d18b0dad..91030d0f50 100644 --- a/docs/doxygen/CMakeLists.txt +++ b/docs/doxygen/CMakeLists.txt @@ -43,9 +43,9 @@ add_custom_command( add_custom_target(doxygen_target ALL DEPENDS ${BUILT_DIRS}) if(ENABLE_DOXYGEN) - add_custom_command( + add_custom_command( OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/gnuradio_docstrings.json - COMMAND python3 ${CMAKE_SOURCE_DIR}/docs/doxygen/update_pydoc.py "scrape" + COMMAND ${PYTHON_EXECUTABLE} ${CMAKE_SOURCE_DIR}/docs/doxygen/update_pydoc.py "scrape" "--xml_path" ${CMAKE_BINARY_DIR}/docs/doxygen/xml "--json_path" ${CMAKE_CURRENT_BINARY_DIR}/gnuradio_docstrings.json COMMENT "Scraping generated documentation for docstrings ..." |