From 0f822b111f7015e939701f4dc7e8e2b28a6c3314 Mon Sep 17 00:00:00 2001 From: liu lili Date: Mon, 29 Aug 2022 10:02:51 +0800 Subject: [PATCH] mindspore lite: solve pybind11 lib patch problem --- cmake/external_libs/pybind11.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/external_libs/pybind11.cmake b/cmake/external_libs/pybind11.cmake index 52be95f0ec3..ba92913a00d 100644 --- a/cmake/external_libs/pybind11.cmake +++ b/cmake/external_libs/pybind11.cmake @@ -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