From 85825bf22630e305bff0f28e85aea7997acb60e4 Mon Sep 17 00:00:00 2001 From: Alexander Widerberg Date: Sun, 18 Nov 2018 20:17:07 +0100 Subject: [PATCH] Give it a shot at removing the forced compiler-checks --- ios.toolchain.cmake | 5 ----- 1 file changed, 5 deletions(-) diff --git a/ios.toolchain.cmake b/ios.toolchain.cmake index a5ca234..9d6ad76 100644 --- a/ios.toolchain.cmake +++ b/ios.toolchain.cmake @@ -309,11 +309,6 @@ set(CMAKE_OSX_DEPLOYMENT_TARGET "" CACHE STRING set(CMAKE_OSX_ARCHITECTURES ${IOS_ARCH} CACHE STRING "Build architecture for iOS") # Change the type of target generated for try_compile() so it'll work when cross-compiling set(CMAKE_TRY_COMPILE_TARGET_TYPE STATIC_LIBRARY) -# Skip the platform compiler checks for cross compiling. -set(CMAKE_CXX_COMPILER_FORCED TRUE) -set(CMAKE_CXX_COMPILER_WORKS TRUE) -set(CMAKE_C_COMPILER_FORCED TRUE) -set(CMAKE_C_COMPILER_WORKS TRUE) # All iOS/Darwin specific settings - some may be redundant. set(CMAKE_SHARED_LIBRARY_PREFIX "lib") set(CMAKE_SHARED_LIBRARY_SUFFIX ".dylib")