aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJennifer Zhao <mdTestAU@microsoft.com>2018-04-24 02:30:04 -0700
committerJennifer Zhao <mdTestAU@microsoft.com>2018-04-24 02:30:04 -0700
commit95f0756826e4ac10edbdfb56a9e1c60681263569 (patch)
tree4f3a7bbe65e3da718c82fff4312b07a07a6ce313
parentf703f60bd0064c3aeb116982812a3745817d30fe (diff)
downloadvcpkg-95f0756826e4ac10edbdfb56a9e1c60681263569.tar.gz
vcpkg-95f0756826e4ac10edbdfb56a9e1c60681263569.zip
Fix Clblas
-rw-r--r--ports/clblas/portfile.cmake4
1 files changed, 3 insertions, 1 deletions
diff --git a/ports/clblas/portfile.cmake b/ports/clblas/portfile.cmake
index b18377cdf..98ea1e515 100644
--- a/ports/clblas/portfile.cmake
+++ b/ports/clblas/portfile.cmake
@@ -32,7 +32,9 @@ vcpkg_configure_cmake(
)
vcpkg_install_cmake()
-
+if(VCPKG_LIBRARY_LINKAGE STREQUAL static)
+ file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/bin ${CURRENT_PACKAGES_DIR}/debug/bin)
+endif()
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include)
file(INSTALL