aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Karatarakis <alex@karatarakis.com>2018-04-26 19:01:40 -0700
committerGitHub <noreply@github.com>2018-04-26 19:01:40 -0700
commitbca1e780373864082fe7205a697b76a87508e2ae (patch)
treeac0a4cb714fc3605cb6e8c0ed75649cdb4ed400e
parent1724ceb66242e70267b74373cbe426926aea6218 (diff)
parent95f0756826e4ac10edbdfb56a9e1c60681263569 (diff)
downloadvcpkg-bca1e780373864082fe7205a697b76a87508e2ae.tar.gz
vcpkg-bca1e780373864082fe7205a697b76a87508e2ae.zip
Merge pull request #3299 from jennifer19931112/FixClblas
Fix vcpkg port 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