aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Karatarakis <alkarata@microsoft.com>2016-10-26 12:09:34 -0700
committerAlexander Karatarakis <alkarata@microsoft.com>2016-10-26 12:09:34 -0700
commitc716b6bc60871f3c1adf5b1f2710646e6fdf3f8d (patch)
treefec1384eedd8656abeed7c0ee8a23a4941e4033b
parent9142d7d0bf814969945fe87b21fc6d446d9cdaf7 (diff)
downloadvcpkg-c716b6bc60871f3c1adf5b1f2710646e6fdf3f8d.tar.gz
vcpkg-c716b6bc60871f3c1adf5b1f2710646e6fdf3f8d.zip
[bullet3] Only call vcpkg_copy_pdbs() on dynamic builds
-rw-r--r--ports/bullet3/portfile.cmake4
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()