diff options
| -rw-r--r-- | ports/tiff/portfile.cmake | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ports/tiff/portfile.cmake b/ports/tiff/portfile.cmake index 5a546967a..2266cfe35 100644 --- a/ports/tiff/portfile.cmake +++ b/ports/tiff/portfile.cmake @@ -34,4 +34,8 @@ file(RENAME ) file(GLOB EXES ${CURRENT_PACKAGES_DIR}/bin/*.exe ${CURRENT_PACKAGES_DIR}/debug/bin/*.exe) file(REMOVE ${EXES}) +if(VCPKG_LIBRARY_LINKAGE STREQUAL static) + file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/bin ${CURRENT_PACKAGES_DIR}/debug/bin) +endif() + vcpkg_copy_pdbs() |
