We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents b5901a3 + df105ac commit 97c1bb1Copy full SHA for 97c1bb1
cmake/external/openblas.cmake
@@ -115,7 +115,7 @@ INCLUDE_DIRECTORIES(${CBLAS_INC_DIR})
115
# linear algebra libraries for cc_library(xxx SRCS xxx.c DEPS cblas)
116
SET(dummyfile ${CMAKE_CURRENT_BINARY_DIR}/cblas_dummy.c)
117
FILE(WRITE ${dummyfile} "const char * dummy = \"${dummyfile}\";")
118
-IF(${CBLAS_PROVIDER} EQUAL MKLML)
+IF("${CBLAS_PROVIDER}" STREQUAL "MKLML")
119
ADD_LIBRARY(cblas SHARED ${dummyfile})
120
ELSE()
121
ADD_LIBRARY(cblas STATIC ${dummyfile})
0 commit comments