aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Karatarakis <alkarata@microsoft.com>2016-10-24 15:02:19 -0700
committerAlexander Karatarakis <alkarata@microsoft.com>2016-10-24 15:02:19 -0700
commitcb948e8c5c46b437f8998e60fa69acee7c393e9d (patch)
treebf9f007dbf30d7eff6cf3ace04fb5bfe2378a85f
parent2084fb0852e34e2b6c203c307fde8ec0da127700 (diff)
downloadvcpkg-cb948e8c5c46b437f8998e60fa69acee7c393e9d.tar.gz
vcpkg-cb948e8c5c46b437f8998e60fa69acee7c393e9d.zip
[libwebp] Add call to vcpkg_copy_pdbs()
-rw-r--r--ports/libwebp/portfile.cmake4
1 files changed, 4 insertions, 0 deletions
diff --git a/ports/libwebp/portfile.cmake b/ports/libwebp/portfile.cmake
index d11e90966..71262f1ba 100644
--- a/ports/libwebp/portfile.cmake
+++ b/ports/libwebp/portfile.cmake
@@ -23,6 +23,10 @@ vcpkg_install_cmake()
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include)
+if(VCPKG_LIBRARY_LINKAGE STREQUAL dynamic)
+ vcpkg_copy_pdbs()
+endif()
+
# Handle copyright
file(COPY ${SOURCE_PATH}/COPYING DESTINATION ${CURRENT_PACKAGES_DIR}/share/libwebp)
file(RENAME ${CURRENT_PACKAGES_DIR}/share/libwebp/COPYING ${CURRENT_PACKAGES_DIR}/share/libwebp/copyright)