forked from HowardHinnant/date
Cannot set USE_OS_TZDB=1 on Windows
This commit is contained in:
committed by
Howard Hinnant
parent
3e47883c41
commit
1f27fb7d42
@@ -12,7 +12,9 @@ option( BUILD_STATIC "Build a static version of library" ON )
|
|||||||
if( USE_SYSTEM_TZ_DB )
|
if( USE_SYSTEM_TZ_DB )
|
||||||
add_definitions( -DUSE_AUTOLOAD=0 )
|
add_definitions( -DUSE_AUTOLOAD=0 )
|
||||||
add_definitions( -DHAS_REMOTE_API=0 )
|
add_definitions( -DHAS_REMOTE_API=0 )
|
||||||
add_definitions( -DUSE_OS_TZDB=1 )
|
if( NOT WIN32 )
|
||||||
|
add_definitions( -DUSE_OS_TZDB=1 )
|
||||||
|
endif( )
|
||||||
else( )
|
else( )
|
||||||
add_definitions( -DUSE_AUTOLOAD=1 )
|
add_definitions( -DUSE_AUTOLOAD=1 )
|
||||||
add_definitions( -DHAS_REMOTE_API=1 )
|
add_definitions( -DHAS_REMOTE_API=1 )
|
||||||
|
Reference in New Issue
Block a user