From ab829fd90636f9e5d8216424365136bb14613bdf Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Fri, 5 Sep 2014 02:57:24 -0700 Subject: [PATCH] Fix the __get_cpuid cmake check --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 6e473c20..a66ea70a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -355,7 +355,7 @@ IF(HAVE_CPUID_H) int main() { unsigned int eax, ebx, ecx, edx; - return __get_cpuid(0, eax, ebx, ecx, edx); + return __get_cpuid(0, &eax, &ebx, &ecx, &edx); }" HAVE_GCC_GET_CPUID) ENDIF() -- 2.11.4.GIT