release 0.1.7
[liba.git] / cmake / UseClang.cmake
blobf817cddccae4a807b8cdf984a0ab2f6c3cf8b31c
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)
7 endif()