Added a WA for running Python API in debug mode (#18848)

This commit is contained in:
Ilya Lavrenov authored and GitHub committed 2023-07-28 17:29:09 +04:00
1 parent f23f937b85
commit 41750e1ada
2 files changed
+5 -1

No files matched your search

+4
View File
@@ -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)