Skip to content

Commit 569ea7d

Browse files
committed
Link protobuf to expose symbols for Windows because ORC links protobuf as PRIVATE
1 parent 3300f4c commit 569ea7d

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

cpp/cmake_modules/ThirdpartyToolchain.cmake

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3683,6 +3683,7 @@ function(build_orc)
36833683

36843684
add_library(orc::orc INTERFACE IMPORTED)
36853685
target_link_libraries(orc::orc INTERFACE orc)
3686+
target_link_libraries(orc::orc INTERFACE ${ARROW_PROTOBUF_LIBPROTOBUF})
36863687

36873688
# ar -M rejects paths with "c++/" because "+" is a line continuation
36883689
# character in MRI scripts, so we have to create a copy of the static lib

0 commit comments

Comments
 (0)