mirror of
https://github.com/Kitware/CMake.git
synced 2026-04-26 08:08:24 -05:00
9266d4817d
If the user or toolchain file has already set `CMAKE_{C,CXX}_COMPILER`,
do not override it with the NDK-provided toolchain.
Fixes: #27162
6 lines
117 B
CMake
6 lines
117 B
CMake
if(CMAKE_C_COMPILER)
|
|
return()
|
|
endif()
|
|
include(Platform/Android/Determine-Compiler)
|
|
__android_determine_compiler(C)
|