diff options
| author | Alexander Karatarakis <alkarata@microsoft.com> | 2016-10-26 12:09:34 -0700 |
|---|---|---|
| committer | Alexander Karatarakis <alkarata@microsoft.com> | 2016-10-26 12:09:34 -0700 |
| commit | c716b6bc60871f3c1adf5b1f2710646e6fdf3f8d (patch) | |
| tree | fec1384eedd8656abeed7c0ee8a23a4941e4033b | |
| parent | 9142d7d0bf814969945fe87b21fc6d446d9cdaf7 (diff) | |
| download | vcpkg-c716b6bc60871f3c1adf5b1f2710646e6fdf3f8d.tar.gz vcpkg-c716b6bc60871f3c1adf5b1f2710646e6fdf3f8d.zip | |
[bullet3] Only call vcpkg_copy_pdbs() on dynamic builds
| -rw-r--r-- | ports/bullet3/portfile.cmake | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/ports/bullet3/portfile.cmake b/ports/bullet3/portfile.cmake index dbc206f5f..5face2c0b 100644 --- a/ports/bullet3/portfile.cmake +++ b/ports/bullet3/portfile.cmake @@ -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() |
