Skip to content

Commit 7ae3d0d

Browse files
committed
update
1 parent 87dcecc commit 7ae3d0d

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

python/CMakeLists.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -333,13 +333,14 @@ if (PYARROW_BUNDLE_ARROW_CPP)
333333
# disable autolinking in boost
334334
add_definitions(-DBOOST_ALL_NO_LIB)
335335
endif()
336-
find_package(Boost COMPONENTS system thread atomic chrono filesystem regex REQUIRED)
336+
find_package(Boost COMPONENTS system thread atomic chrono date_time filesystem regex REQUIRED)
337337
bundle_boost_lib(Boost_REGEX_LIBRARY)
338338
bundle_boost_lib(Boost_FILESYSTEM_LIBRARY)
339339
bundle_boost_lib(Boost_SYSTEM_LIBRARY)
340340
bundle_boost_lib(Boost_THREAD_LIBRARY)
341341
bundle_boost_lib(Boost_ATOMIC_LIBRARY)
342342
bundle_boost_lib(Boost_CHRONO_LIBRARY)
343+
bundle_boost_lib(Boost_DATE_TIME_LIBRARY)
343344
endif()
344345

345346
bundle_zlib()

python/setup.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -313,6 +313,9 @@ def _run_cmake(self):
313313
move_shared_libs(
314314
build_prefix, build_lib,
315315
"{}_chrono".format(self.boost_namespace))
316+
move_shared_libs(
317+
build_prefix, build_lib,
318+
"{}_date_time".format(self.boost_namespace))
316319
move_shared_libs(
317320
build_prefix, build_lib,
318321
"{}_regex".format(self.boost_namespace))

0 commit comments

Comments
 (0)