Cannot set USE_OS_TZDB=1 on Windows

This commit is contained in:
Darrell Wright 2017-11-24 23:54:38 -05:00 committed by Howard Hinnant
parent 3e47883c41
commit 1f27fb7d42

View File

@ -12,7 +12,9 @@ option( BUILD_STATIC "Build a static version of library" ON )
if( USE_SYSTEM_TZ_DB )
add_definitions( -DUSE_AUTOLOAD=0 )
add_definitions( -DHAS_REMOTE_API=0 )
add_definitions( -DUSE_OS_TZDB=1 )
if( NOT WIN32 )
add_definitions( -DUSE_OS_TZDB=1 )
endif( )
else( )
add_definitions( -DUSE_AUTOLOAD=1 )
add_definitions( -DHAS_REMOTE_API=1 )