Fix CMake build for Android/x86
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 668ab1c..f54df79 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -191,6 +191,9 @@
LIST(REMOVE_ITEM CPUINFO_MOCK_SRCS src/gpu/gles2.c)
LIST(APPEND CPUINFO_MOCK_SRCS src/gpu/gles2-mock.c)
ENDIF()
+ IF(CMAKE_SYSTEM_PROCESSOR MATCHES "^(i686|x86_64)$")
+ LIST(APPEND CPUINFO_MOCK_SRCS src/x86/mockcpuid.c)
+ ENDIF()
IF(CMAKE_SYSTEM_NAME STREQUAL "Linux" OR CMAKE_SYSTEM_NAME STREQUAL "Android")
LIST(APPEND CPUINFO_MOCK_SRCS src/linux/mockfile.c)
ENDIF()