Skip to content

Commit 5603106

Browse files
committed
last set of fixes
1 parent bfd7e7d commit 5603106

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

cpp/src/arrow/compute/CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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()
4242
endif()
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()
5757
endif()
5858

0 commit comments

Comments
 (0)