Commits

David Rogers  committed 2839fa5

Use Clang on all Apple platforms.

  • Participants
  • Parent commits 14b9513
  • Branches v1-8

Comments (0)

Files changed (1)

File CMakeLists.txt

 
 if (APPLE)
   include(CMakeForceCompiler)
-  if (OGRE_BUILD_PLATFORM_APPLE_IOS)
-    CMAKE_FORCE_C_COMPILER(clang GNU)
-    CMAKE_FORCE_CXX_COMPILER(clang++ GNU)
-    SET(CMAKE_SIZEOF_VOID_P 4)
-	set(CMAKE_XCODE_ATTRIBUTE_GCC_VERSION "com.apple.compilers.llvm.clang.1_0")
-  else ()
-    CMAKE_FORCE_C_COMPILER(llvm-gcc-4.2 GNU)
-    CMAKE_FORCE_CXX_COMPILER(llvm-g++-4.2 GNU)
-    SET(CMAKE_SIZEOF_VOID_P 4)
-	set(CMAKE_XCODE_ATTRIBUTE_GCC_VERSION "com.apple.compilers.llvmgcc42")
-  endif ()
+  CMAKE_FORCE_C_COMPILER(clang GNU)
+  CMAKE_FORCE_CXX_COMPILER(clang++ GNU)
+  SET(CMAKE_SIZEOF_VOID_P 4)
+  set(CMAKE_XCODE_ATTRIBUTE_GCC_VERSION "com.apple.compilers.llvm.clang.1_0")
 endif ()
 
 #####################################################################