diff options
author | Brad King <brad.king@kitware.com> | 2016-08-03 13:20:44 (GMT) |
---|---|---|
committer | CMake Topic Stage <kwrobot@kitware.com> | 2016-08-03 13:20:44 (GMT) |
commit | ef729c5bc2591542eacbe2aaf46bde9b4ae6d2ed (patch) | |
tree | 6dfc8c5194e1fdec5277ea4b4d8290b138305d56 /Modules/ExternalProject.cmake | |
parent | f8792c12b9e57dafcee2306e12dec268f9e147f2 (diff) | |
parent | 52aecc0c382384d5bea3c18d7894e80bc573d8d7 (diff) | |
download | CMake-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.cmake | 1 |
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}\") |