# specify the cross compiler SET(CMAKE_C_COMPILER clang) SET(CMAKE_CXX_COMPILER clang++) SET(CMAKE_COMPILER_IS_GNUCC 1)