File tree 2 files changed +19
-1
lines changed
webrtc-jni/src/main/cpp/dependencies/webrtc
2 files changed +19
-1
lines changed Original file line number Diff line number Diff line change 306
306
<platform .module>webrtc.macos.x86_64</platform .module>
307
307
</properties >
308
308
</profile >
309
+ <profile >
310
+ <id >mac-aarch64</id >
311
+ <activation >
312
+ <os >
313
+ <family >mac</family >
314
+ <arch >aarch64</arch >
315
+ </os >
316
+ </activation >
317
+ <properties >
318
+ <platform .classifier>macos-aarch64</platform .classifier>
319
+ <platform .module>webrtc.macos.aarch64</platform .module>
320
+ </properties >
321
+ </profile >
309
322
</profiles >
310
323
311
324
<reporting >
Original file line number Diff line number Diff line change 1
- cmake_minimum_required (VERSION 3.13)
1
+ cmake_minimum_required (VERSION 3.13)
2
2
project (webrtc)
3
3
4
4
FILE (WRITE ${CMAKE_CURRENT_BINARY_DIR} /pseudo.hxx
@@ -14,6 +14,10 @@ if(NOT DEFINED TARGET_CPU)
14
14
elseif (CMAKE_SIZEOF_VOID_P EQUAL 8)
15
15
set (TARGET_CPU "x64" )
16
16
endif ()
17
+
18
+ if (${CMAKE_SYSTEM_PROCESSOR} MATCHES "aarch64" )
19
+ set (TARGET_CPU "${CMAKE_SYSTEM_PROCESSOR} " )
20
+ endif ()
17
21
endif ()
18
22
19
23
if (NOT DEFINED WEBRTC_BRANCH)
@@ -254,3 +258,4 @@ install(CODE "
254
258
endif()
255
259
endforeach()
256
260
" )
261
+
You can’t perform that action at this time.
0 commit comments