File tree Expand file tree Collapse file tree 1 file changed +8
-5
lines changed Expand file tree Collapse file tree 1 file changed +8
-5
lines changed Original file line number Diff line number Diff line change 1
1
diff --git a/toolchain/iOS.cmake b/toolchain/iOS.cmake
2
- index 076a6b9..2e3291a 100644
2
+ index 195e3fc..567a8d3 100644
3
3
--- a/toolchain/iOS.cmake
4
4
+++ b/toolchain/iOS.cmake
5
- @@ -47,8 +47,8 @@ endif (CMAKE_UNAME)
5
+ @@ -45,10 +45,10 @@ if (CMAKE_UNAME)
6
+ string (REGEX REPLACE "^([0-9]+)\\.([0-9]+).*$" "\\1" DARWIN_MAJOR_VERSION "${CMAKE_HOST_SYSTEM_VERSION}")
7
+ endif (CMAKE_UNAME)
6
8
7
- # Force the compilers to gcc for iOS
9
+ - # Force the compilers to gcc for iOS
10
+ + # Force the compilers to clang for iOS
8
11
include (CMakeForceCompiler)
9
- - CMAKE_FORCE_C_COMPILER (clang Apple)
10
- - CMAKE_FORCE_CXX_COMPILER (clang ++ Apple)
12
+ - CMAKE_FORCE_C_COMPILER (/usr/bin/gcc Apple)
13
+ - CMAKE_FORCE_CXX_COMPILER (/usr/bin/g ++ Apple)
11
14
+ CMAKE_FORCE_C_COMPILER (/usr/bin/clang Apple)
12
15
+ CMAKE_FORCE_CXX_COMPILER (/usr/bin/clang++ Apple)
13
16
set(CMAKE_AR ar CACHE FILEPATH "" FORCE)
You can’t perform that action at this time.
0 commit comments