From d91eec08c0c87fa9de64725b0355a8bd8394229c Mon Sep 17 00:00:00 2001 From: Yee <2520865+yixinglu@users.noreply.github.com> Date: Thu, 29 Feb 2024 19:58:34 +0800 Subject: [PATCH] Use system timezone (#138) --- project/externals/date.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/project/externals/date.cmake b/project/externals/date.cmake index 854807d..0f4e386 100644 --- a/project/externals/date.cmake +++ b/project/externals/date.cmake @@ -16,11 +16,11 @@ ExternalProject_Add( SOURCE_DIR ${source_dir} CMAKE_ARGS ${common_cmake_args} + -DUSE_SYSTEM_TZ_DB=ON -DBUILD_TZ_LIB=ON -DENABLE_DATE_TESTING=OFF -DBUILD_SHARED_LIBS=ON -DCMAKE_BUILD_TYPE=Release - -DCURL_NO_CURL_CMAKE=ON BUILD_IN_SOURCE 1 BUILD_COMMAND make -s -j${BUILDING_JOBS_NUM} INSTALL_COMMAND make -s -j${BUILDING_JOBS_NUM} install