forked from mindspore-Ecosystem/mindspore
!41039 [MS]{Lite][Task] solve pybind11 patch problem
Merge pull request !41039 from 刘力力/master_develop
This commit is contained in:
commit
9d0c8daa5a
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue