|
@@ -7,8 +7,8 @@ SET (CMAKE_SYSTEM_PROCESSOR "arm64")
|
|
SET (SDKVER "7.1")
|
|
SET (SDKVER "7.1")
|
|
SET (DEVROOT "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain")
|
|
SET (DEVROOT "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain")
|
|
SET (SDKROOT "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS${SDKVER}.sdk")
|
|
SET (SDKROOT "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS${SDKVER}.sdk")
|
|
-SET (CC "${DEVROOT}/usr/bin/llvm-gcc")
|
|
|
|
-SET (CXX "${DEVROOT}/usr/bin/llvm-g++")
|
|
|
|
|
|
+SET (CC "${DEVROOT}/usr/bin/clang")
|
|
|
|
+SET (CXX "${DEVROOT}/usr/bin/clang++")
|
|
|
|
|
|
CMAKE_FORCE_C_COMPILER (${CC} LLVM)
|
|
CMAKE_FORCE_C_COMPILER (${CC} LLVM)
|
|
CMAKE_FORCE_CXX_COMPILER (${CXX} LLVM)
|
|
CMAKE_FORCE_CXX_COMPILER (${CXX} LLVM)
|