Repository: arrow Updated Branches: refs/heads/master 9ff39f3e9 -> 099f61ce5
ARROW-1218: [C++] Fix arrow build if no compression library is used Author: Philipp Moritz <pcmor...@gmail.com> Closes #846 from pcmoritz/arrow-no-compression-build and squashes the following commits: 75b7ebb [Philipp Moritz] fix arrow build if no compression library is used Project: http://git-wip-us.apache.org/repos/asf/arrow/repo Commit: http://git-wip-us.apache.org/repos/asf/arrow/commit/099f61ce Tree: http://git-wip-us.apache.org/repos/asf/arrow/tree/099f61ce Diff: http://git-wip-us.apache.org/repos/asf/arrow/diff/099f61ce Branch: refs/heads/master Commit: 099f61ce5b5007230788a470f53c04315263ff8e Parents: 9ff39f3 Author: Philipp Moritz <pcmor...@gmail.com> Authored: Sat Jul 15 22:11:13 2017 +0200 Committer: Uwe L. Korn <uw...@xhochy.com> Committed: Sat Jul 15 22:11:13 2017 +0200 ---------------------------------------------------------------------- cpp/CMakeLists.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/arrow/blob/099f61ce/cpp/CMakeLists.txt ---------------------------------------------------------------------- diff --git a/cpp/CMakeLists.txt b/cpp/CMakeLists.txt index d84611c..c609850 100644 --- a/cpp/CMakeLists.txt +++ b/cpp/CMakeLists.txt @@ -584,7 +584,9 @@ if (ARROW_WITH_ZSTD) SET(ARROW_STATIC_LINK_LIBS zstd_static ${ARROW_STATIC_LINK_LIBS}) endif() -add_dependencies(arrow_dependencies ${ARROW_STATIC_LINK_LIBS}) +if (ARROW_STATIC_LINK_LIBS) + add_dependencies(arrow_dependencies ${ARROW_STATIC_LINK_LIBS}) +endif() set(ARROW_MIN_TEST_LIBS arrow_static