From 3e1404d2087e4ea52e61ba4273638a4fa00e2928 Mon Sep 17 00:00:00 2001 From: zhouwei25 <52485244+zhouwei25@users.noreply.github.com> Date: Tue, 24 Dec 2019 15:09:58 +0800 Subject: [PATCH] fix cp bug of warpctc repository,test=develop (#21901) --- cmake/external/warpctc.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/external/warpctc.cmake b/cmake/external/warpctc.cmake index 94ed9ff3d27..00e5b26410c 100644 --- a/cmake/external/warpctc.cmake +++ b/cmake/external/warpctc.cmake @@ -41,7 +41,7 @@ if(WIN32) file(TO_NATIVE_PATH ${WARPCTC_SOURCE_DIR} native_dst) set(WARPCTC_PATCH_COMMAND xcopy ${native_src} ${native_dst} /E/Y) else() - set(WARPCTC_PATCH_COMMAND cp -r ${PADDLE_SOURCE_DIR}/patches/warpctc/ ${WARPCTC_SOURCE_DIR}) + set(WARPCTC_PATCH_COMMAND cp -r ${PADDLE_SOURCE_DIR}/patches/warpctc/. ${WARPCTC_SOURCE_DIR}) endif() ExternalProject_Add( -- GitLab