Skip to content

Commit a971965

Browse files
authored
Merge pull request #20 from leetal/dev
Removed the forced compiler-checks
2 parents 8a7a15d + 85825bf commit a971965

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

ios.toolchain.cmake

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -309,11 +309,6 @@ set(CMAKE_OSX_DEPLOYMENT_TARGET "" CACHE STRING
309309
set(CMAKE_OSX_ARCHITECTURES ${IOS_ARCH} CACHE STRING "Build architecture for iOS")
310310
# Change the type of target generated for try_compile() so it'll work when cross-compiling
311311
set(CMAKE_TRY_COMPILE_TARGET_TYPE STATIC_LIBRARY)
312-
# Skip the platform compiler checks for cross compiling.
313-
set(CMAKE_CXX_COMPILER_FORCED TRUE)
314-
set(CMAKE_CXX_COMPILER_WORKS TRUE)
315-
set(CMAKE_C_COMPILER_FORCED TRUE)
316-
set(CMAKE_C_COMPILER_WORKS TRUE)
317312
# All iOS/Darwin specific settings - some may be redundant.
318313
set(CMAKE_SHARED_LIBRARY_PREFIX "lib")
319314
set(CMAKE_SHARED_LIBRARY_SUFFIX ".dylib")

0 commit comments

Comments
 (0)