We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7bda763 commit 2c4bde6Copy full SHA for 2c4bde6
mlir/cmake/modules/AddMLIRPython.cmake
@@ -661,6 +661,7 @@ function(add_mlir_python_extension libname extname)
661
# sources that must be compiled in accordance with pybind11 needs (RTTI and
662
# exceptions).
663
if(NOT DEFINED ARG_PYTHON_BINDINGS_LIBRARY OR ARG_PYTHON_BINDINGS_LIBRARY STREQUAL "pybind11")
664
+ find_package(pybind11 REQUIRED)
665
pybind11_add_module(${libname}
666
${ARG_SOURCES}
667
)
0 commit comments