diff options
| -rw-r--r-- | ports/libgeotiff/portfile.cmake | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ports/libgeotiff/portfile.cmake b/ports/libgeotiff/portfile.cmake index b974ebc35..36be37bb6 100644 --- a/ports/libgeotiff/portfile.cmake +++ b/ports/libgeotiff/portfile.cmake @@ -39,3 +39,7 @@ vcpkg_copy_pdbs() file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include ${CURRENT_PACKAGES_DIR}/debug/share) file(INSTALL ${SOURCE_PATH}/COPYING DESTINATION ${CURRENT_PACKAGES_DIR}/share/libgeotiff RENAME copyright) + +if(VCPKG_LIBRARY_LINKAGE STREQUAL static) + file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/bin ${CURRENT_PACKAGES_DIR}/bin) +endif()
\ No newline at end of file |
