@@ -90,7 +90,7 @@ set(ARROW_SRCS
90
90
${CMAKE_BINARY_DIR} /arrow-src/cpp/src/arrow/util/byte_size.cc
91
91
${CMAKE_BINARY_DIR} /arrow-src/cpp/src/arrow/util/cancel.cc
92
92
${CMAKE_BINARY_DIR} /arrow-src/cpp/src/arrow/util/compression.cc
93
- # ${CMAKE_BINARY_DIR}/arrow-src/cpp/src/arrow/util/compression_zstd.cc
93
+ ${CMAKE_BINARY_DIR} /arrow-src/cpp/src/arrow/util/compression_zstd.cc
94
94
${CMAKE_BINARY_DIR} /arrow-src/cpp/src/arrow/util/compression_lz4.cc
95
95
${CMAKE_BINARY_DIR} /arrow-src/cpp/src/arrow/util/counting_semaphore.cc
96
96
${CMAKE_BINARY_DIR} /arrow-src/cpp/src/arrow/util/debug.cc
@@ -154,11 +154,11 @@ set(ARROW_SRCS
154
154
${CMAKE_BINARY_DIR} /arrow-src/cpp/src/arrow/compute/exec.cc
155
155
${CMAKE_BINARY_DIR} /arrow-src/cpp/src/arrow/compute/expression.cc
156
156
${CMAKE_BINARY_DIR} /arrow-src/cpp/src/arrow/compute/function.cc
157
- ${CMAKE_BINARY_DIR} /arrow-src/cpp/src/arrow/compute/function_internal.cc
157
+ ${CMAKE_BINARY_DIR} /arrow-src/cpp/src/arrow/compute/function_internal.cc
158
158
${CMAKE_BINARY_DIR} /arrow-src/cpp/src/arrow/compute/kernel.cc
159
159
${CMAKE_BINARY_DIR} /arrow-src/cpp/src/arrow/compute/ordering.cc
160
160
161
-
161
+
162
162
# ${CMAKE_BINARY_DIR}/arrow-src/cpp/src/arrow/compute/registry.cc
163
163
# ${CMAKE_BINARY_DIR}/arrow-src/cpp/src/arrow/compute/kernels/aggregate_basic.cc
164
164
# ${CMAKE_BINARY_DIR}/arrow-src/cpp/src/arrow/compute/kernels/aggregate_mode.cc
@@ -278,16 +278,19 @@ add_library(arrow STATIC ${ARROW_SRCS})
278
278
279
279
target_compile_definitions (arrow PUBLIC ARROW_NO_DEPRECATED_API)
280
280
target_compile_definitions (arrow PUBLIC ARROW_STATIC)
281
- # target_compile_definitions(arrow PUBLIC ARROW_WITH_ZSTD=ON)
281
+ target_compile_definitions (arrow PUBLIC ARROW_WITH_ZSTD=ON )
282
282
target_compile_definitions (arrow PUBLIC ARROW_WITH_LZ4)
283
283
284
+ target_include_directories (arrow SYSTEM PRIVATE ${zstd_SOURCE_DIR} /lib)
285
+
284
286
# will need built boost filesystem and system .lib to work, even though
285
287
# perspective itself does not use those dependencies
286
288
target_link_libraries (arrow
287
289
${double-conversion_LIBRARIES}
288
290
${Boost_FILESYSTEM_LIBRARY}
289
291
${Boost_SYSTEM_LIBRARY}
290
292
lz4_static
293
+ libzstd_static
291
294
${ARROW_TEST_LINK_TOOLCHAIN} )
292
295
293
296
# find_package(Flatbuffers)
0 commit comments