!41039 [MS]{Lite][Task] solve pybind11 patch problem

Merge pull request !41039 from 刘力力/master_develop
This commit is contained in:
i-robot 2022-08-29 09:26:54 +00:00 committed by Gitee
commit 9d0c8daa5a
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
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