summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibTimeZone/CMakeLists.txt
blob: 2b2dd4b43d2fa96594bccf4c626bfc6b806d6e41 (plain)
1
2
3
4
5
6
7
8
9
include(${SerenityOS_SOURCE_DIR}/Meta/CMake/time_zone_data.cmake)

set(SOURCES
    TimeZone.cpp
    ${TIME_ZONE_DATA_SOURCES}
)

add_library(LibTimeZone OBJECT ${SOURCES})
target_compile_definitions(LibTimeZone PRIVATE ENABLE_TIME_ZONE_DATA=$<BOOL:${ENABLE_TIME_ZONE_DATABASE_DOWNLOAD}>)