mirror of
https://github.com/Kitware/CMake.git
synced 2026-02-22 06:59:01 -06:00
Merge topic 'ExternalProject-no-DS_Store'
52aecc0c ExternalProject: Ignore macOS .DS_Store files in tarball extraction
This commit is contained in:
@@ -993,6 +993,7 @@ endif()
|
||||
#
|
||||
message(STATUS \"extracting... [analysis]\")
|
||||
file(GLOB contents \"\${ut_dir}/*\")
|
||||
list(REMOVE_ITEM contents \"\${ut_dir}/.DS_Store\")
|
||||
list(LENGTH contents n)
|
||||
if(NOT n EQUAL 1 OR NOT IS_DIRECTORY \"\${contents}\")
|
||||
set(contents \"\${ut_dir}\")
|
||||
|
||||
Reference in New Issue
Block a user