Skip to content

Commit aceaffe

Browse files
committed
Updated detection of pybind11_mkdoc being present
1 parent 1ffd3fd commit aceaffe

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

.github/workflows/main.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,6 @@ jobs:
4949
run: |
5050
python -m pip install --upgrade pip
5151
sudo apt install libusb-1.0-0-dev
52-
python -m pip install clang==14.0 --force-reinstall
5352
python -m pip install -r docs/requirements_mkdoc.txt
5453
- name: Configure project
5554
run: cmake -S . -B build -DDEPTHAI_PYTHON_FORCE_DOCSTRINGS=ON -DDEPTHAI_PYTHON_DOCSTRINGS_OUTPUT="$PWD/docstrings/depthai_python_docstring.hpp"

cmake/pybind11-mkdoc.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ function(pybind11_mkdoc_setup_internal target output_path mkdoc_headers enforce)
2828

2929
# Execute module pybind11_mkdoc to check if present
3030
message(STATUS "Checking for pybind11_mkdoc")
31-
execute_process(COMMAND ${PYTHON_EXECUTABLE} -m ${PYBIND11_MKDOC_MODULE_NAME} RESULT_VARIABLE error OUTPUT_QUIET ERROR_QUIET)
31+
execute_process(COMMAND ${PYTHON_EXECUTABLE} -m ${PYBIND11_MKDOC_MODULE_NAME} --help RESULT_VARIABLE error OUTPUT_QUIET ERROR_QUIET)
3232
if(error)
3333
set(message "Checking for pybind11_mkdoc - not found, docstrings not available")
3434
if(NOT enforce)

0 commit comments

Comments
 (0)