mirror of
https://github.com/NGSolve/netgen.git
synced 2024-12-26 05:50:32 +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.")
|
for better autocompletion support install it with pip.")
|
||||||
else()
|
else()
|
||||||
message("-- Found pybind11-stubgen: ${stubgen_path}")
|
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)
|
install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/../stubs/netgen-stubs/ DESTINATION ${NG_INSTALL_DIR_PYTHON}/netgen/ COMPONENT netgen)
|
||||||
endif()
|
endif()
|
||||||
endif(BUILD_STUB_FILES)
|
endif(BUILD_STUB_FILES)
|
||||||
|
Loading…
Reference in New Issue
Block a user