mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 19:47:44 +00:00
parent
17f37cbd8c
commit
125d92fe85
2 changed files with 0 additions and 3 deletions
|
@ -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
Add a link
Reference in a new issue