CMakeLists.txt 288 B

123456789
  1. include(${SerenityOS_SOURCE_DIR}/Meta/CMake/time_zone_data.cmake)
  2. set(SOURCES
  3. TimeZone.cpp
  4. ${TIME_ZONE_DATA_SOURCES}
  5. )
  6. add_library(LibTimeZone OBJECT ${SOURCES})
  7. target_compile_definitions(LibTimeZone PRIVATE ENABLE_TIME_ZONE_DATA=$<BOOL:${ENABLE_TIME_ZONE_DATABASE_DOWNLOAD}>)