aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Karatarakis <alkarata@microsoft.com>2016-10-26 12:03:27 -0700
committerAlexander Karatarakis <alkarata@microsoft.com>2016-10-26 12:03:27 -0700
commit9142d7d0bf814969945fe87b21fc6d446d9cdaf7 (patch)
treec78baf95c07dad19ef8ce8d3769477fc00e7f0d4
parent7e10cd1bda4e58e7b275f128c73ff444f646d118 (diff)
downloadvcpkg-9142d7d0bf814969945fe87b21fc6d446d9cdaf7.tar.gz
vcpkg-9142d7d0bf814969945fe87b21fc6d446d9cdaf7.zip
[assimp] Only vcpkg_copy_pdbs() in dynamic build
-rw-r--r--ports/assimp/portfile.cmake4
1 files changed, 3 insertions, 1 deletions
diff --git a/ports/assimp/portfile.cmake b/ports/assimp/portfile.cmake
index 33527a46d..fd6cc1c0c 100644
--- a/ports/assimp/portfile.cmake
+++ b/ports/assimp/portfile.cmake
@@ -36,4 +36,6 @@ file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include)
# Handle copyright
file(COPY ${CURRENT_BUILDTREES_DIR}/src/assimp-3.3.1/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/assimp)
file(RENAME ${CURRENT_PACKAGES_DIR}/share/assimp/LICENSE ${CURRENT_PACKAGES_DIR}/share/assimp/copyright)
-vcpkg_copy_pdbs() \ No newline at end of file
+if(VCPKG_LIBRARY_LINKAGE STREQUAL dynamic)
+ vcpkg_copy_pdbs()
+endif() \ No newline at end of file