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 585bb69
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions QPALM/interfaces/python/cmake/Pybind11Stubgen.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,10 @@ 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}>/..
USES_TERMINAL)
WORKING_DIRECTORY $<TARGET_FILE_DIR:${target}>/..)

endfunction()

Expand Down

0 comments on commit 585bb69

Please sign in to comment.