From 0a4430fc417d8cd06ffd191eff3464efbf5dd736 Mon Sep 17 00:00:00 2001 From: Timothy Flynn Date: Thu, 20 Jan 2022 11:18:30 -0500 Subject: [PATCH] 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. --- Tests/LibTimeZone/CMakeLists.txt | 2 +- Userland/Libraries/LibJS/CMakeLists.txt | 2 +- Userland/Libraries/LibUnicode/CMakeLists.txt | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Tests/LibTimeZone/CMakeLists.txt b/Tests/LibTimeZone/CMakeLists.txt index 26f88bf4ce..770a8ae497 100644 --- a/Tests/LibTimeZone/CMakeLists.txt +++ b/Tests/LibTimeZone/CMakeLists.txt @@ -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=$) diff --git a/Userland/Libraries/LibJS/CMakeLists.txt b/Userland/Libraries/LibJS/CMakeLists.txt index f64e6ae934..9fe951bab9 100644 --- a/Userland/Libraries/LibJS/CMakeLists.txt +++ b/Userland/Libraries/LibJS/CMakeLists.txt @@ -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) diff --git a/Userland/Libraries/LibUnicode/CMakeLists.txt b/Userland/Libraries/LibUnicode/CMakeLists.txt index b9ed32e858..c59470cca0 100644 --- a/Userland/Libraries/LibUnicode/CMakeLists.txt +++ b/Userland/Libraries/LibUnicode/CMakeLists.txt @@ -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=$) if (DEFINED UNICODE_DATA_SOURCES)