summaryrefslogtreecommitdiff
path: root/Tests/LibTimeZone/CMakeLists.txt
blob: 770a8ae4979aea2e9451c0b8350ef4a8c784a999 (plain)
1
2
3
4
5
6
7
8
9
10
set(TEST_SOURCES
    TestTimeZone.cpp
)

foreach(source IN LISTS TEST_SOURCES)
    serenity_test("${source}" LibTimeZone LIBS LibCore)

    get_filename_component(target "${source}" NAME_WLE)
    target_compile_definitions("${target}" PRIVATE ENABLE_TIME_ZONE_DATA=$<BOOL:${ENABLE_TIME_ZONE_DATABASE_DOWNLOAD}>)
endforeach()