aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)