aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Karatarakis <alkarata@microsoft.com>2016-10-24 16:32:04 -0700
committerAlexander Karatarakis <alkarata@microsoft.com>2016-10-24 16:32:04 -0700
commit7028baa07f344c2aad237902ce27edb174e760fa (patch)
tree09b89d2c76792666b101256a76cfba714e08bead
parentcc3ee9d8d9b16d2a913d8eb656561ee520f2f1b3 (diff)
downloadvcpkg-7028baa07f344c2aad237902ce27edb174e760fa.tar.gz
vcpkg-7028baa07f344c2aad237902ce27edb174e760fa.zip
[jxrlib] Add call to vcpkg_copy_pdbs()
-rw-r--r--ports/jxrlib/portfile.cmake4
1 files changed, 4 insertions, 0 deletions
diff --git a/ports/jxrlib/portfile.cmake b/ports/jxrlib/portfile.cmake
index 40c29c0b0..0fce5b9ba 100644
--- a/ports/jxrlib/portfile.cmake
+++ b/ports/jxrlib/portfile.cmake
@@ -19,6 +19,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 ${CMAKE_CURRENT_LIST_DIR}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/jxrlib)
file(RENAME ${CURRENT_PACKAGES_DIR}/share/jxrlib/LICENSE ${CURRENT_PACKAGES_DIR}/share/jxrlib/copyright)