Newer
Older
minerva / Tests / LibTimeZone / CMakeLists.txt
@minerva minerva on 13 Jul 336 bytes Initial commit
set(TEST_SOURCES
    TestTimeZone.cpp
)

foreach(source IN LISTS TEST_SOURCES)
    minerva_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()