We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 569ea7d commit 2f706aaCopy full SHA for 2f706aa
1 file changed
cpp/src/arrow/CMakeLists.txt
@@ -1024,6 +1024,12 @@ if(ARROW_ORC)
1024
PRIVATE ARROW_ORC_NEED_TIME_ZONE_DATABASE_CHECK)
1025
endif()
1026
endforeach()
1027
+ # On Windows (MSVC), ORC links protobuf PRIVATE so protobuf symbols
1028
+ # don't propagate through the OBJECT library chain to arrow.dll.
1029
+ # Add protobuf directly to ensure it appears on the link line.
1030
+ if(MSVC)
1031
+ list(APPEND ARROW_SHARED_PRIVATE_LINK_LIBS ${ARROW_PROTOBUF_LIBPROTOBUF})
1032
+ endif()
1033
else()
1034
set(ARROW_ORC_TARGET_SHARED)
1035
set(ARROW_ORC_TARGET_STATIC)
0 commit comments