Repository: parquet-cpp Updated Branches: refs/heads/master 483608a1a -> c2ca2e3e9
PARQUET-627: Ensure that thrift headers are generated before source compilation Author: Uwe L. Korn <[email protected]> Closes #115 from xhochy/parquet-627 and squashes the following commits: af2ad19 [Uwe L. Korn] Ensure that thrift headers are generated before source compilation Project: http://git-wip-us.apache.org/repos/asf/parquet-cpp/repo Commit: http://git-wip-us.apache.org/repos/asf/parquet-cpp/commit/c2ca2e3e Tree: http://git-wip-us.apache.org/repos/asf/parquet-cpp/tree/c2ca2e3e Diff: http://git-wip-us.apache.org/repos/asf/parquet-cpp/diff/c2ca2e3e Branch: refs/heads/master Commit: c2ca2e3e9c8daf1e254aae184a2ab0e505d4d3c4 Parents: 483608a Author: Uwe L. Korn <[email protected]> Authored: Fri Jun 3 14:18:50 2016 -0700 Committer: Wes McKinney <[email protected]> Committed: Fri Jun 3 14:18:50 2016 -0700 ---------------------------------------------------------------------- CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/parquet-cpp/blob/c2ca2e3e/CMakeLists.txt ---------------------------------------------------------------------- diff --git a/CMakeLists.txt b/CMakeLists.txt index b878612..2ccbcff 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -504,6 +504,10 @@ add_subdirectory(src/parquet/schema) add_subdirectory(src/parquet/thrift) add_subdirectory(src/parquet/util) +# Ensure that thrift compilation is done befor using its generated headers +# in parquet code. +add_dependencies(parquet_objlib parquet_thrift) + add_subdirectory(example) add_custom_target(clean-all
