diff options
| author | Silvio <silvio.traversaro@iit.it> | 2016-10-24 23:22:11 +0200 |
|---|---|---|
| committer | Silvio <silvio.traversaro@iit.it> | 2016-10-24 23:22:17 +0200 |
| commit | 7658d318366ac149285617d41cf97d63a2cb9adc (patch) | |
| tree | 134fd8055e911279d132fae7fc6d173334f57502 | |
| parent | 3e4ccad0f982aff729987e77514f6cbade9ebb1a (diff) | |
| download | vcpkg-7658d318366ac149285617d41cf97d63a2cb9adc.tar.gz vcpkg-7658d318366ac149285617d41cf97d63a2cb9adc.zip | |
Cleanup Visual C++ Redistributable runtime
| -rw-r--r-- | ports/openjpeg/portfile.cmake | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/ports/openjpeg/portfile.cmake b/ports/openjpeg/portfile.cmake index 496a22542..70700ed9d 100644 --- a/ports/openjpeg/portfile.cmake +++ b/ports/openjpeg/portfile.cmake @@ -24,6 +24,11 @@ string(REPLACE "\${_IMPORT_PREFIX}" "\${_IMPORT_PREFIX}/debug" OPENJPEG_DEBUG_MO file(WRITE ${CURRENT_PACKAGES_DIR}/share/openjpeg/OpenJPEGTargets-debug.cmake "${OPENJPEG_DEBUG_MODULE}") file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/share) +# Cleanup Visual C++ Redistributable runtime +file(REMOVE ${CURRENT_PACKAGES_DIR}/bin/msvcp140.dll) +file(REMOVE ${CURRENT_PACKAGES_DIR}/bin/vcruntime140.dll) +file(REMOVE ${CURRENT_PACKAGES_DIR}/debug/bin/msvcp140.dll) +file(REMOVE ${CURRENT_PACKAGES_DIR}/debug/bin/vcruntime140.dll) # Handle copyright file(COPY ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/openjpeg) |
