Skip to content

Commit bce1c03

Browse files
authored
Merge pull request #5748 from luotao1/fix_mkl_compiler_bug
fix compiler error in "WITH_MKL"
2 parents 2e7ffbd + bf5f94a commit bce1c03

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ else()
109109
endif()
110110

111111
set(WITH_MKLML ${WITH_MKL})
112-
if (WITH_MKL AND ${AVX2_FOUND})
112+
if (WITH_MKL AND AVX2_FOUND)
113113
set(WITH_MKLDNN ON)
114114
else()
115115
message(STATUS "Do not have AVX2 intrinsics and disabled MKL-DNN")

0 commit comments

Comments
 (0)