1 --- a/cmake/modules/FindSSE.cmake 2017-08-22 09:29:22.000000000 +0200
2 +++ b/cmake/modules/FindSSE.cmake 2018-01-06 19:36:32.716303559 +0100
5 if(CMAKE_SYSTEM_NAME MATCHES "Linux")
6 if(CPU MATCHES "x86_64" OR CPU MATCHES "i.86")
7 - exec_program(cat ARGS "/proc/cpuinfo" OUTPUT_VARIABLE CPUINFO)
8 + set(CPUINFO "sse sse2 pni ssse3 sse4_1 sse4_2 avx avx2")
10 string(REGEX REPLACE "^.*(sse).*$" "\\1" _SSE_THERE ${CPUINFO})
11 string(COMPARE EQUAL "sse" "${_SSE_THERE}" _SSE_TRUE)