summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Userland/Libraries/LibTimeZone/CMakeLists.txt12
1 files changed, 1 insertions, 11 deletions
diff --git a/Userland/Libraries/LibTimeZone/CMakeLists.txt b/Userland/Libraries/LibTimeZone/CMakeLists.txt
index 834a19747f..218f0217f1 100644
--- a/Userland/Libraries/LibTimeZone/CMakeLists.txt
+++ b/Userland/Libraries/LibTimeZone/CMakeLists.txt
@@ -1,20 +1,10 @@
include(${SerenityOS_SOURCE_DIR}/Meta/CMake/time_zone_data.cmake)
-if (DEFINED TIME_ZONE_DATA_SOURCES)
- set(SOURCES ${TIME_ZONE_DATA_SOURCES})
- serenity_lib(LibTimeZoneData timezonedata)
- target_compile_options(LibTimeZoneData PRIVATE -g0 -Os)
- target_link_libraries(LibTimeZoneData LibCore)
-endif()
-
set(SOURCES
TimeZone.cpp
+ ${TIME_ZONE_DATA_SOURCES}
)
serenity_lib(LibTimeZone timezone)
target_link_libraries(LibTimeZone LibCore)
target_compile_definitions(LibTimeZone PRIVATE ENABLE_TIME_ZONE_DATA=$<BOOL:${ENABLE_TIME_ZONE_DATABASE_DOWNLOAD}>)
-
-if (DEFINED TIME_ZONE_DATA_SOURCES)
- target_link_libraries(LibTimeZone LibTimeZoneData)
-endif()