mirror of
https://github.com/NGSolve/netgen.git
synced 2024-12-25 21:40:33 +05:00
use --ignore-invalid=all flag to be able to upgrade pybind11-stubgen
This commit is contained in:
parent
ec0fc05fd6
commit
56aa4581ea
@ -32,7 +32,7 @@ if(pybind11_stubgen AND NOT ${pybind11_stubgen} EQUAL 0)
|
||||
for better autocompletion support install it with pip.")
|
||||
else()
|
||||
message("-- Found pybind11-stubgen: ${stubgen_path}")
|
||||
install(CODE "execute_process(COMMAND ${PYTHON_EXECUTABLE} -m pybind11_stubgen --no-setup-py netgen)")
|
||||
install(CODE "execute_process(COMMAND ${PYTHON_EXECUTABLE} -m pybind11_stubgen --no-setup-py --ignore-invalid=all netgen)")
|
||||
install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/../stubs/netgen-stubs/ DESTINATION ${NG_INSTALL_DIR_PYTHON}/netgen/ COMPONENT netgen)
|
||||
endif()
|
||||
endif(BUILD_STUB_FILES)
|
||||
|
Loading…
Reference in New Issue
Block a user