Skip to content

Commit a82a027

Browse files
kouxhochy
authored andcommitted
ARROW-2721: [C++] Fix ORC and Protocol Buffers link error
It's introduced at 408aa5a by me. Sorry. Author: Kouhei Sutou <kou@clear-code.com> Closes #2146 from kou/cpp-fix-orc-and-protobuf-link-error and squashes the following commits: 725d783 <Kouhei Sutou> Fix ORC and Protocol Buffers link error
1 parent 392fd02 commit a82a027

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

cpp/CMakeLists.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -593,9 +593,6 @@ if (ARROW_WITH_GRPC)
593593
endif()
594594

595595
if (ARROW_ORC)
596-
SET(ARROW_STATIC_LINK_LIBS
597-
orc
598-
${ARROW_STATIC_LINK_LIBS})
599596
if (ARROW_PROTOBUF_USE_SHARED)
600597
SET(ARROW_LINK_LIBS
601598
protobuf
@@ -605,6 +602,9 @@ if (ARROW_ORC)
605602
protobuf
606603
${ARROW_STATIC_LINK_LIBS})
607604
endif()
605+
SET(ARROW_STATIC_LINK_LIBS
606+
orc
607+
${ARROW_STATIC_LINK_LIBS})
608608
endif()
609609

610610
if (ARROW_STATIC_LINK_LIBS)

0 commit comments

Comments
 (0)