Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Document] USE_OS_TZDB option in TZ installation document should be changed to USE_SYSTEM_TZ_DB #838

Open
Adamska1008 opened this issue Sep 11, 2024 · 1 comment
Labels

Comments

@Adamska1008
Copy link

Today I try to compile tz.cpp following this and find setting USE_OS_TZDB to on not work. I check the CMakeLists.txt and it turns out that that the actual option is USE_SYSTEM_TZ_DB.

@fkobi
Copy link
Contributor

fkobi commented Jan 9, 2025

I also first thought that but it is an another option:

date/CMakeLists.txt

Lines 149 to 150 in 8a1102f

if ( USE_SYSTEM_TZ_DB AND NOT WIN32 AND NOT MANUAL_TZ_DB )
target_compile_definitions( date-tz PRIVATE INSTALL=. PUBLIC USE_OS_TZDB=1 )

Also USE_OS_TZDB is not recognized by cmake for me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants