diff options
author | fuzzard <fuzzard@users.noreply.github.com> | 2024-06-16 12:54:57 +1000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-06-16 12:54:57 +1000 |
commit | 0880cc9c76e87556fc9fdbbfc48b4354b612f683 (patch) | |
tree | 01cb57ce095489183ec1acee47c9b97322cbba82 /cmake | |
parent | ac32aafef377d81b61814bc774fcca63668308c2 (diff) | |
parent | 2220fad74fb9dfe2f908b7754ea58dcbe24408de (diff) |
Merge pull request #25326 from howie-f/v22-bsddocscmake
[docs] Update documentation for FreeBSD
Diffstat (limited to 'cmake')
-rw-r--r-- | cmake/modules/FindSSE.cmake | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/cmake/modules/FindSSE.cmake b/cmake/modules/FindSSE.cmake index f367e2dac8..82a33dd6de 100644 --- a/cmake/modules/FindSSE.cmake +++ b/cmake/modules/FindSSE.cmake @@ -42,7 +42,8 @@ if(CMAKE_SYSTEM_NAME MATCHES "Linux") endif() elseif(CMAKE_SYSTEM_NAME MATCHES "FreeBSD") if(CPU MATCHES "amd64" OR CPU MATCHES "i.86") - execute_process(COMMAND grep Features /var/run/dmesg.boot OUTPUT_VARIABLE CPUINFO) + execute_process(COMMAND dmesg + COMMAND grep Features OUTPUT_VARIABLE CPUINFO) string(REGEX REPLACE "^.*(SSE).*$" "\\1" _SSE_THERE "${CPUINFO}") string(COMPARE EQUAL "SSE" "${_SSE_THERE}" _SSE_TRUE) |