mirror of
https://github.com/Kitware/CMake.git
synced 2025-10-14 02:08:27 +08:00
Merge topic 'android-ndk-custom-toolchain'
9266d4817d
Android: Allow custom compilers with NDK
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !11199
This commit is contained in:
@@ -1,2 +1,5 @@
|
||||
if(CMAKE_C_COMPILER)
|
||||
return()
|
||||
endif()
|
||||
include(Platform/Android/Determine-Compiler)
|
||||
__android_determine_compiler(C)
|
||||
|
@@ -1,2 +1,5 @@
|
||||
if(CMAKE_CXX_COMPILER)
|
||||
return()
|
||||
endif()
|
||||
include(Platform/Android/Determine-Compiler)
|
||||
__android_determine_compiler(CXX)
|
||||
|
Reference in New Issue
Block a user