Skip to content

Commit 26cf303

Browse files
authored
Merge pull request #147 from emailweixu/fix_FindAVX
Fix cmake/FindAVX.cmake
2 parents 9023479 + 6ea7948 commit 26cf303

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cmake/FindAVX.cmake

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ IF(${FIND_AVX_10})
5959
ENDIF()
6060
ENDIF()
6161

62-
IF(${FIND_AVX_10} OR ${FIND_AVX_20})
62+
IF("${FIND_AVX_10}" OR "${FIND_AVX_20}")
6363
SET(AVX_FOUND TRUE)
6464
MESSAGE(STATUS "Find CPU supports ${AVX_FLAGS}.")
65-
ENDIF()
65+
ENDIF()

0 commit comments

Comments
 (0)