mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-01 11:50:11 -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
121 B
CMake
6 lines
121 B
CMake
if(CMAKE_CXX_COMPILER)
|
|
return()
|
|
endif()
|
|
include(Platform/Android/Determine-Compiler)
|
|
__android_determine_compiler(CXX)
|