File tree Expand file tree Collapse file tree 1 file changed +3
-5
lines changed
Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -51,13 +51,11 @@ file(MAKE_DIRECTORY "${STUBGEN_OUTPUT_PATH}")
5151add_custom_command (
5252 TARGET pyqpp
5353 POST_BUILD
54- COMMAND
55- PYTHONPATH=${CMAKE_CURRENT_BINARY_DIR} /Release:$ENV{PYTHONPATH}
56- ${Python3_EXECUTABLE} -m pybind11_stubgen pyqpp --output -dir
57- ${STUBGEN_OUTPUT_PATH} --ignore -all -errors
54+ COMMAND ${Python3_EXECUTABLE} -m pybind11_stubgen pyqpp --output -dir
55+ ${STUBGEN_OUTPUT_PATH} --ignore -all -errors
5856 WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
5957 COMMENT "Generating Python stubs for pyqpp..."
60- VERBATIM )
58+ VERBATIM ENV PYTHONPATH= ${CMAKE_CURRENT_BINARY_DIR} /Release )
6159
6260# Create an empty "py.typed" file in the build directory
6361file (TOUCH "${CMAKE_CURRENT_BINARY_DIR} /py.typed" )
You can’t perform that action at this time.
0 commit comments