Skip to content

Commit 1f33bb4

Browse files
committed
feat: add CMake configuration for Darwin system
Introduce a new CMakeSystem.cmake file to define the host and system properties for the Darwin platform, including system name, version, and processor architecture. This setup facilitates cross-compilation and ensures compatibility with the target environment.
1 parent f379d3b commit 1f33bb4

1 file changed

Lines changed: 15 additions & 0 deletions

File tree

CMakeFiles/CMakeSystem.cmake

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
set(CMAKE_HOST_SYSTEM "Darwin-25.3.0")
2+
set(CMAKE_HOST_SYSTEM_NAME "Darwin")
3+
set(CMAKE_HOST_SYSTEM_VERSION "25.3.0")
4+
set(CMAKE_HOST_SYSTEM_PROCESSOR "arm64")
5+
6+
7+
8+
set(CMAKE_SYSTEM "Darwin-25.3.0")
9+
set(CMAKE_SYSTEM_NAME "Darwin")
10+
set(CMAKE_SYSTEM_VERSION "25.3.0")
11+
set(CMAKE_SYSTEM_PROCESSOR "arm64")
12+
13+
set(CMAKE_CROSSCOMPILING "FALSE")
14+
15+
set(CMAKE_SYSTEM_LOADED 1)

0 commit comments

Comments
 (0)