[cpprestsdk] Only run vcpkg_copy_pdbs() when building dynamically

This commit is contained in:
Alexander Karatarakis 2016-10-24 17:45:01 -07:00
parent 6bf915335a
commit 65a49cf85f

View File

@ -32,5 +32,7 @@ file(INSTALL
${SOURCE_PATH}/license.txt
DESTINATION ${CURRENT_PACKAGES_DIR}/share/cpprestsdk RENAME copyright)
vcpkg_copy_pdbs()
if(VCPKG_LIBRARY_LINKAGE STREQUAL dynamic)
vcpkg_copy_pdbs()
endif()