Skip to content

Commit 725d783

Browse files
committed
[C++] Fix ORC and Protocol Buffers link error
It's introduced at 408aa5a by me. Sorry.
1 parent 392fd02 commit 725d783

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)