From 8bdad8e8e100b8e508afd5ada0298314118f746d Mon Sep 17 00:00:00 2001 From: "Uwe L. Korn" Date: Wed, 28 Dec 2016 23:11:40 +0100 Subject: [PATCH] ARROW-445: arrow_ipc_objlib depends on Flatbuffer generated files This is needed as before the depedency was done through the arrow library on which arrow_ipc depends. But as the arrow_objlib target is not linked to anything else, it can actually be built independently. This would lead to races where the flatbuffer generated files were not existing during arrow_ipc compilation. Change-Id: I5c6ea886ef803225b5afb84b3d493595d12ddaf0 --- cpp/src/arrow/ipc/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cpp/src/arrow/ipc/CMakeLists.txt b/cpp/src/arrow/ipc/CMakeLists.txt index 11ca19179f3..b7ac5f05974 100644 --- a/cpp/src/arrow/ipc/CMakeLists.txt +++ b/cpp/src/arrow/ipc/CMakeLists.txt @@ -143,7 +143,7 @@ add_custom_command( ) add_custom_target(metadata_fbs DEPENDS ${FBS_OUTPUT_FILES}) -add_dependencies(arrow_objlib metadata_fbs) +add_dependencies(arrow_ipc_objlib metadata_fbs) # Headers: top level install(FILES