forked from mindspore-Ecosystem/mindspore
mindspore lite: solve pybind11 lib patch problem
This commit is contained in:
parent
0d6581c54f
commit
0f822b111f
|
@ -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