summaryrefslogtreecommitdiff
path: root/Modules
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2016-08-03 09:20:44 -0400
committerCMake Topic Stage <kwrobot@kitware.com>2016-08-03 09:20:44 -0400
commitef729c5bc2591542eacbe2aaf46bde9b4ae6d2ed (patch)
tree6dfc8c5194e1fdec5277ea4b4d8290b138305d56 /Modules
parentf8792c12b9e57dafcee2306e12dec268f9e147f2 (diff)
parent52aecc0c382384d5bea3c18d7894e80bc573d8d7 (diff)
downloadcmake-ef729c5bc2591542eacbe2aaf46bde9b4ae6d2ed.tar.gz
Merge topic 'ExternalProject-no-DS_Store'
52aecc0c ExternalProject: Ignore macOS .DS_Store files in tarball extraction
Diffstat (limited to 'Modules')
-rw-r--r--Modules/ExternalProject.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/Modules/ExternalProject.cmake b/Modules/ExternalProject.cmake
index 755b4fb870..44bf9570f0 100644
--- a/Modules/ExternalProject.cmake
+++ b/Modules/ExternalProject.cmake
@@ -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}\")