mindspore lite: solve pybind11 lib patch problem

This commit is contained in:
liu lili 2022-08-29 10:02:51 +08:00
parent 0d6581c54f
commit 0f822b111f
1 changed files with 1 additions and 1 deletions

View File

@ -31,7 +31,7 @@ else()
endif()
set(pybind11_CXXFLAGS "-D_FORTIFY_SOURCE=2 -O2")
set(pybind11_CFLAGS "-D_FORTIFY_SOURCE=2 -O2")
set(pybind11_patch ${CMAKE_SOURCE_DIR}/third_party/patch/pybind11/pybind11.patch001)
set(pybind11_patch ${TOP_DIR}/third_party/patch/pybind11/pybind11.patch001)
if(PYTHON_VERSION MATCHES "3.9")
mindspore_add_pkg(pybind11