diff options
| author | Alexander Karatarakis <alkarata@microsoft.com> | 2016-10-24 14:53:00 -0700 |
|---|---|---|
| committer | Alexander Karatarakis <alkarata@microsoft.com> | 2016-10-24 14:53:00 -0700 |
| commit | d7859b89cb584cc1631b9b2d2976037de64fca6e (patch) | |
| tree | 72842c7bc8aa4172d6e1925a5f9b0d5f1627aef7 | |
| parent | 87da26ec27c8879089cd3749d01e12e48e924687 (diff) | |
| download | vcpkg-d7859b89cb584cc1631b9b2d2976037de64fca6e.tar.gz vcpkg-d7859b89cb584cc1631b9b2d2976037de64fca6e.zip | |
[openjpeg] vcpkg_copy_pdbs()
| -rw-r--r-- | ports/openjpeg/portfile.cmake | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ports/openjpeg/portfile.cmake b/ports/openjpeg/portfile.cmake index 70700ed9d..80f18cd86 100644 --- a/ports/openjpeg/portfile.cmake +++ b/ports/openjpeg/portfile.cmake @@ -30,6 +30,10 @@ file(REMOVE ${CURRENT_PACKAGES_DIR}/bin/vcruntime140.dll) file(REMOVE ${CURRENT_PACKAGES_DIR}/debug/bin/msvcp140.dll) file(REMOVE ${CURRENT_PACKAGES_DIR}/debug/bin/vcruntime140.dll) +if(VCPKG_LIBRARY_LINKAGE STREQUAL dynamic) + vcpkg_copy_pdbs() +endif() + # Handle copyright file(COPY ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/openjpeg) file(RENAME ${CURRENT_PACKAGES_DIR}/share/openjpeg/LICENSE ${CURRENT_PACKAGES_DIR}/share/openjpeg/copyright) |
