diff --git a/cpp/pybind/make_python_package.cmake b/cpp/pybind/make_python_package.cmake index fd9ddd0e6a2..abf5c476912 100644 --- a/cpp/pybind/make_python_package.cmake +++ b/cpp/pybind/make_python_package.cmake @@ -138,7 +138,6 @@ if(NOT IGNORE_STUBGEN_ERRORS) list(APPEND PYBIND11_STUBGEN_FLAGS "--exit-code") endif() message(STATUS "Generating typing stubs...") -message(STATUS "pybind11-stubgen open3d -o ${PYTHON_PACKAGE_DST_DIR}/stubs") execute_process( COMMAND ${CMAKE_COMMAND} -E env PYTHONPATH="${PYTHON_PACKAGE_DST_DIR}" pybind11-stubgen open3d -o "${PYTHON_PACKAGE_DST_DIR}" ${PYBIND11_STUBGEN_FLAGS} COMMAND_ERROR_IS_FATAL ANY