From 2f9c443be3943f2698ce9f57d303aded7fba5649 Mon Sep 17 00:00:00 2001 From: liaogang Date: Mon, 7 Aug 2017 10:16:25 +0800 Subject: [PATCH] fix name typo --- cmake/external/openblas.cmake | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmake/external/openblas.cmake b/cmake/external/openblas.cmake index 4b13bf0f203..db09232c0e6 100644 --- a/cmake/external/openblas.cmake +++ b/cmake/external/openblas.cmake @@ -71,8 +71,8 @@ INCLUDE_DIRECTORIES(${CBLAS_INC_DIR}) # FIXME(gangliao): generate cblas target to track all high performance # linear algebra libraries for cc_library(xxx SRCS xxx.c DEPS cblas) -SET(dummyfile ${CMAKE_CURRENT_BINARY_DIR}/lib_any_dummy.c) -FILE(WRITE ${dummyfile} "const char * dummy_any = \"${dummyfile}\";") +SET(dummyfile ${CMAKE_CURRENT_BINARY_DIR}/cblas_dummy.c) +FILE(WRITE ${dummyfile} "const char * dummy = \"${dummyfile}\";") ADD_LIBRARY(cblas STATIC ${dummyfile}) TARGET_LINK_LIBRARIES(cblas ${CBLAS_LIBRARIES}) -- GitLab