Skip to content

Commit

Permalink
Fix cmake/FindAVX.cmake
Browse files Browse the repository at this point in the history
  • Loading branch information
xuwei06 committed Sep 29, 2016
1 parent 9023479 commit 6ea7948
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmake/FindAVX.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -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()
ENDIF()

0 comments on commit 6ea7948

Please sign in to comment.