There was an error while loading. Please reload this page.
1 parent 628605d commit ed4c83cCopy full SHA for ed4c83c
1 file changed
cpp/src/arrow/engine/CMakeLists.txt
@@ -70,10 +70,13 @@ foreach(LIB_TARGET ${ARROW_SUBSTRAIT_LIBRARIES})
70
target_compile_definitions(${LIB_TARGET} PRIVATE ARROW_ENGINE_EXPORTING)
71
endforeach()
72
73
+if(ARROW_BUILD_STATIC AND WIN32)
74
+ target_compile_definitions(arrow_substrait_static PUBLIC ARROW_ENGINE_STATIC)
75
+endif()
76
+
77
set(ARROW_SUBSTRAIT_TEST_LINK_LIBS ${ARROW_SUBSTRAIT_LINK_lIBS} ${ARROW_TEST_LINK_LIBS})
78
if(ARROW_TEST_LINKAGE STREQUAL "static")
- list(APPEND ARROW_SUBSTRAIT_TEST_LINK_LIBS arrow_substrait_static
- arrow_substrait_static)
79
+ list(APPEND ARROW_SUBSTRAIT_TEST_LINK_LIBS arrow_substrait_static)
80
else()
81
list(APPEND ARROW_SUBSTRAIT_TEST_LINK_LIBS arrow_substrait_shared)
82
endif()
0 commit comments