diff --git a/cmake/external/warpctc.cmake b/cmake/external/warpctc.cmake index 94ed9ff3d27b74c631b94b8a5b0241f748b34ae0..00e5b26410c3caa894d317e13ffc23829d2bfdb1 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(