mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-09 23:30:35 -06:00
Utilities/Release: Avoid repeat copy of files with same suffix
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user