From 25f0094ee4c20be3628d376cdad98fd9acf5134a Mon Sep 17 00:00:00 2001 From: Philipp Moritz Date: Tue, 7 Aug 2018 00:04:37 -0700 Subject: [PATCH] Fix copying the plasma fbs directory from arrow (#2579) --- src/plasma/CMakeLists.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/plasma/CMakeLists.txt b/src/plasma/CMakeLists.txt index 6f20b1f7a..b3462ad41 100644 --- a/src/plasma/CMakeLists.txt +++ b/src/plasma/CMakeLists.txt @@ -28,7 +28,9 @@ add_dependencies(gen_plasma_fbs flatbuffers_ep) # Copy the fbs files from Arrow project to local directory. add_custom_command( OUTPUT ${PLASMA_FBS_SRC} - COMMAND cp -rf ${CMAKE_CURRENT_LIST_DIR}/../../thirdparty/build/arrow/cpp/src/plasma/format/ ${CMAKE_CURRENT_LIST_DIR}/format/ + COMMAND mkdir -p ${CMAKE_CURRENT_LIST_DIR}/format/ + COMMAND cp ${CMAKE_CURRENT_LIST_DIR}/../../thirdparty/build/arrow/cpp/src/plasma/format/plasma.fbs ${CMAKE_CURRENT_LIST_DIR}/format/ + COMMAND cp ${CMAKE_CURRENT_LIST_DIR}/../../thirdparty/build/arrow/cpp/src/plasma/format/common.fbs ${CMAKE_CURRENT_LIST_DIR}/format/ COMMENT "Copying ${PLASMA_FBS_SRC} to local" VERBATIM)