Skip to content

Commit

Permalink
[Py] use quotes around m|n for stub generation arguments
Browse files Browse the repository at this point in the history
  • Loading branch information
tttapa committed Nov 13, 2024
1 parent 5185d81 commit 4f94900
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion QPALM/interfaces/python/cmake/Pybind11Stubgen.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ function(pybind11_stubgen target)
${PY_BUILD_CMAKE_MODULE_NAME}.$<TARGET_FILE_BASE_NAME:${target}>
--numpy-array-remove-parameters
--ignore-invalid-expressions \\\\?
--ignore-unresolved-names m\\|n
--ignore-unresolved-names 'm|n'
--exit-code
-o ${CMAKE_CURRENT_BINARY_DIR}/stubs/$<TARGET_FILE_BASE_NAME:${target}>
WORKING_DIRECTORY $<TARGET_FILE_DIR:${target}>/..
Expand Down

0 comments on commit 4f94900

Please sign in to comment.