Utilities/Release: Avoid repeat copy of files with same suffix

This commit is contained in:
Brad King 2015-12-10 14:28:57 -05:00
parent fc6c5074e8
commit 93936d78d2
1 changed files with 4 additions and 0 deletions

View File

@ -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()