summaryrefslogtreecommitdiffstats
path: root/Utilities
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2015-12-10 19:28:57 (GMT)
committerBrad King <brad.king@kitware.com>2015-12-10 19:29:37 (GMT)
commit93936d78d221ea49f918f95e33b97796b2a3190f (patch)
treec4e7b99d1c705b421a1bbf2fa873d91e00b8c89c /Utilities
parentfc6c5074e800fb7fe3f829564d7a7e284133cdd9 (diff)
downloadCMake-93936d78d221ea49f918f95e33b97796b2a3190f.zip
CMake-93936d78d221ea49f918f95e33b97796b2a3190f.tar.gz
CMake-93936d78d221ea49f918f95e33b97796b2a3190f.tar.bz2
Utilities/Release: Avoid repeat copy of files with same suffix
Diffstat (limited to 'Utilities')
-rw-r--r--Utilities/Release/release_cmake.cmake4
1 files changed, 4 insertions, 0 deletions
diff --git a/Utilities/Release/release_cmake.cmake b/Utilities/Release/release_cmake.cmake
index c50602d..f41ec9c 100644
--- a/Utilities/Release/release_cmake.cmake
+++ b/Utilities/Release/release_cmake.cmake
@@ -120,6 +120,10 @@ foreach(gen ${generators})
endif()
endforeach()
+if(SUFFIXES)
+ list(REMOVE_DUPLICATES SUFFIXES)
+endif()
+
if(LOCAL_DIR)
file(MAKE_DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/${LOCAL_DIR}")
else()