ladybird/Tests/LibTimeZone/CMakeLists.txt

10 lines
337 B
CMake

set(TEST_SOURCES
TestTimeZone.cpp
)
foreach(source IN LISTS TEST_SOURCES)
serenity_test("${source}" LibTimeZone LIBS LibCore LibTimeZone)
get_filename_component(target "${source}" NAME_WLE)
target_compile_definitions("${target}" PRIVATE ENABLE_TIME_ZONE_DATA=$<BOOL:${ENABLE_TIME_ZONE_DATABASE_DOWNLOAD}>)
endforeach()