1 find_program(CMAKE_C_COMPILER clang REQUIRED DOC "C compiler")
2 find_program(CMAKE_CXX_COMPILER clang++ REQUIRED DOC "C++ compiler")
3 set(CMAKE_C_COMPILER_TARGET "" CACHE STRING "C comipler target")
4 set(CMAKE_CXX_COMPILER_TARGET "" CACHE STRING "C++ comipler target")
5 mark_as_advanced(CMAKE_C_COMPILER_TARGET CMAKE_CXX_COMPILER_TARGET)
6 if(CMAKE_TOOLCHAIN_FILE)