Utilities/Release: Avoid repeat copy of files with same suffix
This commit is contained in:
parent
fc6c5074e8
commit
93936d78d2
|
@ -120,6 +120,10 @@ foreach(gen ${generators})
|
||||||
endif()
|
endif()
|
||||||
endforeach()
|
endforeach()
|
||||||
|
|
||||||
|
if(SUFFIXES)
|
||||||
|
list(REMOVE_DUPLICATES SUFFIXES)
|
||||||
|
endif()
|
||||||
|
|
||||||
if(LOCAL_DIR)
|
if(LOCAL_DIR)
|
||||||
file(MAKE_DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/${LOCAL_DIR}")
|
file(MAKE_DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/${LOCAL_DIR}")
|
||||||
else()
|
else()
|
||||||
|
|
Loading…
Reference in New Issue