[gdcm2] Remove empty folders in static build

This commit is contained in:
Alexander Karatarakis 2017-03-21 17:07:14 -07:00
parent 3015169cae
commit d263e008a4

View File

@ -33,6 +33,10 @@ file(REMOVE_RECURSE
${CURRENT_PACKAGES_DIR}/debug/share
)
if(VCPKG_LIBRARY_LINKAGE STREQUAL static)
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/bin ${CURRENT_PACKAGES_DIR}/debug/bin)
endif()
# Handle copyright
file(INSTALL ${SOURCE_PATH}/Copyright.txt DESTINATION ${CURRENT_PACKAGES_DIR}/share/gdcm2 RENAME copyright)