From 9142d7d0bf814969945fe87b21fc6d446d9cdaf7 Mon Sep 17 00:00:00 2001 From: Alexander Karatarakis Date: Wed, 26 Oct 2016 12:03:27 -0700 Subject: [assimp] Only vcpkg_copy_pdbs() in dynamic build --- ports/assimp/portfile.cmake | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 -- cgit v1.2.3