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