From b4685675df63d7331e8215c36fff66eacde5da7e Mon Sep 17 00:00:00 2001 From: Luo Tao Date: Fri, 19 Jan 2018 16:39:56 +0800 Subject: [PATCH] refine openblas install lib when CAPI --- cmake/external/openblas.cmake | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/cmake/external/openblas.cmake b/cmake/external/openblas.cmake index 0e79c0cc799..4012a164be1 100644 --- a/cmake/external/openblas.cmake +++ b/cmake/external/openblas.cmake @@ -100,6 +100,11 @@ IF(NOT ${CBLAS_FOUND}) \"${CBLAS_INSTALL_DIR}/lib -> ${CMAKE_INSTALL_PREFIX}/${TMP_INSTALL_DIR}\" )" ) + INSTALL(CODE "execute_process( + COMMAND rm -r ${CMAKE_INSTALL_PREFIX}/${TMP_INSTALL_DIR}/cmake + ${CMAKE_INSTALL_PREFIX}/${TMP_INSTALL_DIR}/pkgconfig + )" + ) ENDIF() ENDIF(NOT ${CBLAS_FOUND}) -- GitLab