From bf5f94a3cab48a64586d1d4052db0caafac69e27 Mon Sep 17 00:00:00 2001 From: Luo Tao Date: Fri, 17 Nov 2017 18:36:09 +0800 Subject: [PATCH] fix compiler error in "WITH_MKL" --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index ae8728f4d4c22..65164b8472b90 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -109,7 +109,7 @@ else() endif() set(WITH_MKLML ${WITH_MKL}) -if (WITH_MKL AND ${AVX2_FOUND}) +if (WITH_MKL AND AVX2_FOUND) set(WITH_MKLDNN ON) else() message(STATUS "Do not have AVX2 intrinsics and disabled MKL-DNN")