LibJS+LibTimeZone+LibUnicode: Remove direct linkage to LibTimeZone

This is no longer needed now that LibTimeZone is included within LibC.
Remove the direct linkage so that others do not mistakenly copy-paste
the CMakeLists text elsewhere.
This commit is contained in:
Timothy Flynn 2022-01-20 11:18:30 -05:00 committed by Linus Groh
parent 6988403d59
commit 0a4430fc41
Notes: sideshowbarker 2024-07-17 20:24:01 +09:00
3 changed files with 3 additions and 3 deletions

View File

@ -3,7 +3,7 @@ set(TEST_SOURCES
)
foreach(source IN LISTS TEST_SOURCES)
serenity_test("${source}" LibTimeZone LIBS LibTimeZone)
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}>)

View File

@ -222,4 +222,4 @@ set(SOURCES
)
serenity_lib(LibJS js)
target_link_libraries(LibJS LibM LibCore LibCrypto LibRegex LibSyntax LibTimeZone LibUnicode)
target_link_libraries(LibJS LibM LibCore LibCrypto LibRegex LibSyntax LibUnicode)

View File

@ -16,7 +16,7 @@ set(SOURCES
)
serenity_lib(LibUnicode unicode)
target_link_libraries(LibUnicode LibCore LibTimeZone)
target_link_libraries(LibUnicode LibCore)
target_compile_definitions(LibUnicode PRIVATE ENABLE_UNICODE_DATA=$<BOOL:${ENABLE_UNICODE_DATABASE_DOWNLOAD}>)
if (DEFINED UNICODE_DATA_SOURCES)