提交 26cf3036 编写于 作者: G gangliao 提交者: GitHub

Merge pull request #147 from emailweixu/fix_FindAVX

Fix cmake/FindAVX.cmake
...@@ -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.
先完成此消息的编辑!
想要评论请 注册