mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-04-21 03:55:24 +00:00
parent
17f37cbd8c
commit
125d92fe85
Notes:
sideshowbarker
2024-07-17 03:27:40 +09:00
Author: https://github.com/nico Commit: https://github.com/SerenityOS/serenity/commit/125d92fe85 Pull-request: https://github.com/SerenityOS/serenity/pull/23011
2 changed files with 0 additions and 3 deletions
|
@ -40,7 +40,6 @@ set(TZDB_ZONE_1970_PATH "${TZDB_PATH}/${TZDB_ZONE_1970_SOURCE}")
|
|||
|
||||
function(extract_tzdb_file source path)
|
||||
if(EXISTS "${TZDB_ZIP_PATH}" AND NOT EXISTS "${path}")
|
||||
message(STATUS "Extracting using cmake ${source}")
|
||||
file(ARCHIVE_EXTRACT INPUT "${TZDB_ZIP_PATH}" DESTINATION "${TZDB_PATH}" PATTERNS "${source}")
|
||||
endif()
|
||||
endfunction()
|
||||
|
|
|
@ -258,14 +258,12 @@ endfunction()
|
|||
|
||||
function(extract_path dest_dir zip_path source_path dest_path)
|
||||
if (EXISTS "${zip_path}" AND NOT EXISTS "${dest_path}")
|
||||
message(STATUS "Extracting using cmake ${source_path}")
|
||||
file(ARCHIVE_EXTRACT INPUT "${zip_path}" DESTINATION "${dest_dir}" PATTERNS "${source_path}")
|
||||
endif()
|
||||
endfunction()
|
||||
|
||||
function(extract_tar_path dest_dir tar_path source_path dest_path)
|
||||
if (EXISTS "${tar_path}" AND NOT EXISTS "${dest_path}")
|
||||
message(STATUS "Extracting using cmake ${source_path}")
|
||||
file(ARCHIVE_EXTRACT INPUT "${tar_path}" DESTINATION "${dest_dir}" PATTERNS "${source_path}")
|
||||
endif()
|
||||
endfunction()
|
||||
|
|
Loading…
Add table
Reference in a new issue