提交 6ea79487 编写于 作者: X xuwei06

Fix cmake/FindAVX.cmake

上级 90234791
...@@ -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}" OR "${FIND_AVX_20}")
SET(AVX_FOUND TRUE) SET(AVX_FOUND TRUE)
MESSAGE(STATUS "Find CPU supports ${AVX_FLAGS}.") MESSAGE(STATUS "Find CPU supports ${AVX_FLAGS}.")
ENDIF() ENDIF()
\ No newline at end of file
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册