[bullet3] Only call vcpkg_copy_pdbs() on dynamic builds

This commit is contained in:
Alexander Karatarakis 2016-10-26 12:09:34 -07:00
parent 9142d7d0bf
commit c716b6bc60
1 changed files with 3 additions and 1 deletions

View File

@ -33,4 +33,6 @@ file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include)
file(COPY ${SOURCE_PATH}/LICENSE.txt DESTINATION ${CURRENT_PACKAGES_DIR}/share/bullet3)
file(RENAME ${CURRENT_PACKAGES_DIR}/share/bullet3/LICENSE.txt ${CURRENT_PACKAGES_DIR}/share/bullet3/copyright)
vcpkg_copy_pdbs()
if(VCPKG_LIBRARY_LINKAGE STREQUAL dynamic)
vcpkg_copy_pdbs()
endif()