Added a WA for running Python API in debug mode (#18848)
This commit is contained in:
1 parent
f23f937b85
commit
41750e1ada
2 files changed
+5
-1
No files matched your search
@@ -192,6 +192,10 @@ endif()
|
||||
# Build the code
|
||||
#
|
||||
|
||||
# TODO: find a real root cause and remove this workaround
|
||||
# or localize it to the specific place of the code
|
||||
add_definitions(-DPYBIND11_NO_ASSERT_GIL_HELD_INCREF_DECREF)
|
||||
|
||||
find_package(pybind11 ${pybind11_min_version} QUIET)
|
||||
|
||||
if(NOT pybind11_FOUND)
|
||||
|
||||
+1
-1
Submodule src/bindings/python/thirdparty/pybind11 updated: 1a917f1852...2965fa8de3.
Reference in new issue
Block a user