提交 3ca5df0f 编写于 作者: G gangliao 提交者: Yu Yang

Fix bug when only support AVX 2 (#150)

In some situation, for instance, in the virtual machine, it could happen.
上级 12b61934
...@@ -59,7 +59,7 @@ IF(${FIND_AVX_10}) ...@@ -59,7 +59,7 @@ IF(${FIND_AVX_10})
ENDIF() ENDIF()
ENDIF() ENDIF()
IF("${FIND_AVX_10}" OR "${FIND_AVX_20}") IF(${FIND_AVX_10})
SET(AVX_FOUND TRUE) SET(AVX_FOUND TRUE)
MESSAGE(STATUS "Find CPU supports ${AVX_FLAGS}.") MESSAGE(STATUS "Find CPU supports ${AVX_FLAGS}.")
ENDIF() ENDIF()
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册