From 6ea794872ffc29641c183f93fedd4ba536d98bae Mon Sep 17 00:00:00 2001 From: xuwei06 Date: Thu, 29 Sep 2016 15:08:43 -0700 Subject: [PATCH] Fix cmake/FindAVX.cmake --- cmake/FindAVX.cmake | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmake/FindAVX.cmake b/cmake/FindAVX.cmake index e0f1b7bff..58b89918e 100644 --- a/cmake/FindAVX.cmake +++ b/cmake/FindAVX.cmake @@ -59,7 +59,7 @@ IF(${FIND_AVX_10}) ENDIF() ENDIF() -IF(${FIND_AVX_10} OR ${FIND_AVX_20}) +IF("${FIND_AVX_10}" OR "${FIND_AVX_20}") SET(AVX_FOUND TRUE) MESSAGE(STATUS "Find CPU supports ${AVX_FLAGS}.") -ENDIF() \ No newline at end of file +ENDIF() -- GitLab