File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ if(ARROW_TESTING)
3737 target_link_libraries (arrow_compute_core_testing PUBLIC ${ARROW_GTEST_GMOCK} )
3838 # When using static test linkage, define ARROW_STATIC so test_util_internal.cc doesn't expect DLL imports
3939 if (ARROW_TEST_LINKAGE STREQUAL "static" )
40- target_compile_definitions (arrow_compute_core_testing PRIVATE ARROW_STATIC )
40+ target_compile_definitions (arrow_compute_core_testing PRIVATE ARROW_STATIC ARROW_COMPUTE_STATIC )
4141 endif ()
4242endif ()
4343
@@ -52,7 +52,7 @@ if(ARROW_TESTING AND ARROW_COMPUTE)
5252 PUBLIC ${ARROW_GTEST_GTEST} )
5353 # When using static test linkage, define ARROW_STATIC so test_env.cc doesn't expect DLL imports
5454 if (ARROW_TEST_LINKAGE STREQUAL "static" )
55- target_compile_definitions (arrow_compute_testing PRIVATE ARROW_STATIC )
55+ target_compile_definitions (arrow_compute_testing PRIVATE ARROW_STATIC ARROW_COMPUTE_STATIC )
5656 endif ()
5757endif ()
5858
You can’t perform that action at this time.
0 commit comments