diff --git a/CMakeLists.txt b/CMakeLists.txt index b5966fb..30f40b5 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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 )