1 set(CMAKE_SYSTEM_NAME Linux) 2 set(CMAKE_SYSTEM_VERSION 1) 3 set(CMAKE_SYSTEM_PROCESSOR "arm") 4 set(CMAKE_CXX_COMPILER "/opt/gcc-linaro-arm-linux-gnueabihf-4.8-2013.10_linux/bin/arm-linux-gnueabihf-g++") 5 set(CMAKE_C_COMPILER "/opt/gcc-linaro-arm-linux-gnueabihf-4.8-2013.10_linux/bin/arm-linux-gnueabihf-gcc") 6 set(CMAKE_EXE_LINKER_FLAGS "-static") 7