From 78c5e680eb2541c1e73f3a27046111b34d2f6047 Mon Sep 17 00:00:00 2001 From: risemeup1 <62429225+risemeup1@users.noreply.github.com> Date: Tue, 19 Dec 2023 09:49:47 +0800 Subject: [PATCH] cherry-pick (#60117) * cherry-pick * Update CMakeLists.txt --- paddle/fluid/pybind/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/paddle/fluid/pybind/CMakeLists.txt b/paddle/fluid/pybind/CMakeLists.txt index a864a70da2db5..a30d2435e5068 100755 --- a/paddle/fluid/pybind/CMakeLists.txt +++ b/paddle/fluid/pybind/CMakeLists.txt @@ -114,7 +114,7 @@ if(NOT WIN32) endif() if(WITH_PYTHON) - list(APPEND PYBIND_DEPS py_func_op) + set(PYBIND_DEPS ${PYBIND_DEPS} py_func_op) endif() set(PYBIND_SRCS