aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Karatarakis <alkarata@microsoft.com>2016-10-22 20:35:20 -0700
committerAlexander Karatarakis <alkarata@microsoft.com>2016-10-22 20:35:20 -0700
commit23e1fa80ae3604fc77924e21c0258ed6dc02d9b7 (patch)
treeb3b05268c254847e82acba542cec414aea4bc4d0
parentb420f8ef46156b028f4aea39d0df520f715e236e (diff)
downloadvcpkg-23e1fa80ae3604fc77924e21c0258ed6dc02d9b7.tar.gz
vcpkg-23e1fa80ae3604fc77924e21c0258ed6dc02d9b7.zip
[libccd] copy_pdbs()
-rw-r--r--ports/libccd/portfile.cmake4
1 files changed, 4 insertions, 0 deletions
diff --git a/ports/libccd/portfile.cmake b/ports/libccd/portfile.cmake
index 77ac87f04..34a7e31d6 100644
--- a/ports/libccd/portfile.cmake
+++ b/ports/libccd/portfile.cmake
@@ -25,6 +25,10 @@ vcpkg_configure_cmake(
vcpkg_install_cmake()
+if(VCPKG_LIBRARY_LINKAGE STREQUAL dynamic)
+ vcpkg_copy_pdbs()
+endif()
+
# Avoid a copy of file in debug
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include)
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/share)