summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2014-09-05 02:57:24 -0700
committerChris Robinson <[email protected]>2014-09-05 02:57:24 -0700
commitab829fd90636f9e5d8216424365136bb14613bdf (patch)
tree784afaad04afb848b1466e904a3a9e1e981a6255
parent0b250b246d093276e3128b12cdce9ab40e89e229 (diff)
Fix the __get_cpuid cmake check
-rw-r--r--CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
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()