Skip to content

Commit b468567

Browse files
committed
refine openblas install lib when CAPI
1 parent 9fea1d4 commit b468567

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

cmake/external/openblas.cmake

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,11 @@ IF(NOT ${CBLAS_FOUND})
100100
\"${CBLAS_INSTALL_DIR}/lib -> ${CMAKE_INSTALL_PREFIX}/${TMP_INSTALL_DIR}\"
101101
)"
102102
)
103+
INSTALL(CODE "execute_process(
104+
COMMAND rm -r ${CMAKE_INSTALL_PREFIX}/${TMP_INSTALL_DIR}/cmake
105+
${CMAKE_INSTALL_PREFIX}/${TMP_INSTALL_DIR}/pkgconfig
106+
)"
107+
)
103108
ENDIF()
104109
ENDIF(NOT ${CBLAS_FOUND})
105110

0 commit comments

Comments
 (0)