try fixing the build

if this doesn't work then goodbye Date
This commit is contained in:
tildearrow 2022-04-10 23:20:25 -05:00
parent 7f3d053e31
commit 92b8703574
1 changed files with 1 additions and 0 deletions

View File

@ -139,6 +139,7 @@ if (SYSTEM_DATE)
message(STATUS "Using system-installed Date")
else()
set(BUILD_TZ_LIB ON CACHE BOOL "build/install of TZ library" FORCE)
set(USE_SYSTEM_TZ_DB ON CACHE BOOL "Fix the build already" FORCE)
add_subdirectory(extern/date EXCLUDE_FROM_ALL)
list(APPEND DEPENDENCIES_INCLUDE_DIRS extern/date/include)
list(APPEND DEPENDENCIES_LIBRARIES date date-tz)