summaryrefslogtreecommitdiff
path: root/indra/cmake
diff options
context:
space:
mode:
authorErik Kundiman <erik@megapahit.org>2025-06-19 17:42:53 +0800
committerErik Kundiman <erik@megapahit.org>2025-06-19 17:42:53 +0800
commit32871ee579bfbd4828f7888550897f619fdfd9d7 (patch)
tree4ccc2b5c24ff0c7afd9f82b102bc2267aae9969c /indra/cmake
parent1e2c621af65cd1bde8ad122be4d4a6d4bb578f25 (diff)
Attempt to replace __cpuid, on arm64 using cpuinfo
This commit is for getting rid of the compile error for now, we don't know yet if this will work correctly or not.
Diffstat (limited to 'indra/cmake')
-rw-r--r--indra/cmake/cpuinfo.cmake5
1 files changed, 5 insertions, 0 deletions
diff --git a/indra/cmake/cpuinfo.cmake b/indra/cmake/cpuinfo.cmake
new file mode 100644
index 0000000000..10fcab8e40
--- /dev/null
+++ b/indra/cmake/cpuinfo.cmake
@@ -0,0 +1,5 @@
+include(Prebuilt)
+
+add_library( ll::cpuinfo INTERFACE IMPORTED )
+
+use_system_binary(cpuinfo)