|
|
@@ -46,11 +46,6 @@ if (CMAKE_UNAME)
|
|
|
string (REGEX REPLACE "^([0-9]+)\\.([0-9]+).*$" "\\1" DARWIN_MAJOR_VERSION "${CMAKE_HOST_SYSTEM_VERSION}")
|
|
|
endif (CMAKE_UNAME)
|
|
|
|
|
|
-# Force the compilers to gcc for iOS
|
|
|
-include (CMakeForceCompiler)
|
|
|
-CMAKE_FORCE_C_COMPILER (gcc gcc)
|
|
|
-CMAKE_FORCE_CXX_COMPILER (g++ g++)
|
|
|
-
|
|
|
# Skip the platform compiler checks for cross compiling
|
|
|
set (CMAKE_CXX_COMPILER_WORKS TRUE)
|
|
|
set (CMAKE_C_COMPILER_WORKS TRUE)
|